Handling JavaScript events in WKWebView

前端 未结 3 1361
忘掉有多难
忘掉有多难 2020-12-05 11:26

I\'m trying to catch every onClick event in WKWebView. The website is working only with JavaScript so I cannot handle anything in:



        
3条回答
  •  旧时难觅i
    2020-12-05 11:53

    You can use the WebViewJavascriptBridge. Please refer the below link for details :

    https://github.com/marcuswestin/WebViewJavascriptBridge

提交回复
热议问题