Bridge for WKWebView and JavaScript
-
Updated
Jun 21, 2019 - Swift
Bridge for WKWebView and JavaScript
📱 An example project created for my blog post "Web to native communication on iOS using WKScriptMessageHandler" 📱
对iOS WKWebView的二次封装,更方便的使用WkWebView。
A native bridge that using WKScriptMessageHandler to expose native function to JavaScript
WKWebView load local js
A script message handler for wkwebview is used to communicate with js each other.
A slimmed down WKWebView
fix bug about cycle reference ,like NSTimer and WKWebView.
Add a description, image, and links to the wkscriptmessagehandler topic page so that developers can more easily learn about it.
To associate your repository with the wkscriptmessagehandler topic, visit your repo's landing page and select "manage topics."