DEV Community 👩‍💻👨‍💻

YASAR BILAL
YASAR BILAL

Posted on

WKWebView Not Catch ButtonAction in navigationAction Delegate

Seems... here we faced an issue.., When a user clicks Button on WkWebview which is not Caught by...

func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void) {
                decisionHandler(.allow)
// -1 "other" seen when assigning the url programatically
// 0 "linkActivated" a link with an href attribute
…

Top comments (0)

Let's Get Hacking

Join the DEV x Linode Hackathon 2022 and use your ingenuity and creativity to build using Linode.

→ Join the Hackathon <-