marcuswestin / WebViewJavascriptBridge

An iOS/OSX bridge for sending messages between Obj-C and JavaScript in UIWebViews/WebViews
http://marcuswest.in
MIT License
14.27k stars 2.98k forks source link

iOS13 disables uiwebview, this warehouse will be rejected #403

Closed postponement closed 4 years ago

postponement commented 4 years ago

A friend asked a question, and the use of uiwebView was banned in April. I saw that the file WebViewJavascriptBridge is still using uiwebView, which will cause the APP to be rejected. May the author update the file before April?

ke112 commented 4 years ago

我也担心这个问题,,好像博主不维护了

libtinker commented 4 years ago

https://www.jianshu.com/p/4e4d937e5acb 这篇文章通过配置PodFile文件去除UIWebView

libtinker commented 4 years ago

A friend asked a question, and the use of uiwebView was banned in April. I saw that the file WebViewJavascriptBridge is still using uiwebView, which will cause the APP to be rejected. May the author update the file before April?

https://www.jianshu.com/p/4e4d937e5acb 这篇文章通过配置PodFile文件去除UIWebView

housenkui commented 4 years ago

我已经重构了这个库. 如果您遇到麻烦,可以尝试使用它. 下载地址: https://github.com/housenkui/JavascriptBridge 它更轻,使用更简单. 只需要一个参数就能让Xcode输出js的console.log. 10分钟之内应该可以完成接入.