How I can call a javascript function with MonoTouch and vice versa?

后端 未结 3 1746
孤独总比滥情好
孤独总比滥情好 2020-11-30 06:11

i\'m new using monotouch.

My problem is i want call a javascript function from a monotouch function and javascript function could call a monotouch function too.

3条回答
  •  隐瞒了意图╮
    2020-11-30 06:37

    I just released MonoTouch JsBridge to make this easier. It allows you to add event listeners and fire events between the native side and the UIWebView. It was inspired by Titanium.

    https://github.com/crdeutsch/MonoTouch-JsBridge

提交回复
热议问题