Window.open() is not working in WKWebView

Karthikeyan1993Karthikeyan1993 USMember ✭✭
edited May 2018 in Xamarin.Forms

I am trying to open a URL in safari browser while clicking it from app's iOS WKWebView, but when I call window.open() from javascript which has no effects.

It's not hitting the decide policy in WKWebView,

[Foundation.Export("webViewecidePolicyForNavigationActionecisionHandler:")]
public void DecidePolicy(WKWebView webView, WKNavigationAction navigationAction, Action decisionHandler)

I have tried to override WKUIDelegate method, but it's not working. :(

Could anyone help me out?

Answers

Sign In or Register to comment.