You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.
I probably have a similar problem. The page displayed in the webview wants to open an URL in a new tab. iOS prohibits this by default. I want to catch the URL before the request is executed, but cannot do so because shouldOverrideUrlLoading does not fire.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi!
Can you give an example of how to implement Obj-C functionality in NativeScript (Angular)
I want this
{
(void)webView:(WKWebView *)webView decidePolicyForNavigationAction:(WKNavigationAction *)navigationAction decisionHandler:(void (^)(WKNavigationActionPolicy))decisionHandler
{
if (navigationAction.navigationType == UIWebViewNavigationTypeLinkClicked) {
NSURL *url = navigationAction.request.URL;
}else{
decisionHandler(WKNavigationActionPolicyAllow);
}
}
}
Please, if it's not difficult to provide an example code
The text was updated successfully, but these errors were encountered: