ios js call ios

以前方法总是要拦截shouldStartLoadWithRequest

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

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

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

原文地址:https://www.cnblogs.com/anjuncc/p/4705397.html