使用c# - xamarin ios进行monotouch uiwebview的最简单的javascript桥接

时间:2013-03-27 12:30:06

标签: javascript ios uiwebview xamarin.ios xamarin

真的很难找到一个能够在monotouch(c#)和uiwebview之间进行双向通信的有效解决方案。

Android似乎使用JavaScriptInterface做得很好。

(试图让leaflet.js在Xamarin IOS uiwebview组件中工作,并且下载了geojson,这样我就可以填充位于uiwebview中的leaflet.js,并且还可以从本机端收听js回调)。