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 script message handler for wkwebview is used to communicate with js each other.
A native bridge that using WKScriptMessageHandler to expose native function to JavaScript
WKWebView load local js
A slimmed down WKWebView
fix bug about cycle reference ,like NSTimer and WKWebView.
To associate your repository with the wkscriptmessagehandler topic, visit your repo's landing page and select "manage topics."