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
I am trying to disable multiple tabs in webview for IOS in .net maui. I was able to implement for android. Could please help for IOS?
I have tried below solution for android and it is working. public class AndroidWebViewHandler : WebViewHandler { protected override void ConnectHandler(global::Android.Webkit.WebView platformView) { platformView.Settings.SetSupportMultipleWindows(false); platformView.Settings.JavaScriptCanOpenWindowsAutomatically = true; platformView.Settings.JavaScriptEnabled = true; base.ConnectHandler(platformView);}}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to disable multiple tabs in webview for IOS in .net maui. I was able to implement for android. Could please help for IOS?
I have tried below solution for android and it is working.
public class AndroidWebViewHandler : WebViewHandler { protected override void ConnectHandler(global::Android.Webkit.WebView platformView) { platformView.Settings.SetSupportMultipleWindows(false); platformView.Settings.JavaScriptCanOpenWindowsAutomatically = true; platformView.Settings.JavaScriptEnabled = true; base.ConnectHandler(platformView);}}
Beta Was this translation helpful? Give feedback.
All reactions