ios js call ios

以前方法总是要拦截shouldStartLoadWithRequest

新方法用 javascriptCore 可以像android一样方便把ios 对像export 到js中调用

https://github.com/TomSwift/UIWebView-TS_JavaScriptContext

https://www.bignerdranch.com/blog/javascriptcore-example/

posted on 2015-08-05 17:47  anjuncc  阅读(208)  评论(0编辑  收藏  举报

导航