question

JassimAlRahma-9056 avatar image
0 Votes"
JassimAlRahma-9056 asked JassimAlRahma-9056 commented

Disable Popup Blocker

Hi,

I am getting below message on my WebView on iOS device.

Kindly Help..

Thanks,
Jassim


125347-image.png


dotnet-csharpdotnet-xamarin
image.png (115.5 KiB)
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

It caused by the limit of WebView on the window.open method, opening a new page needs to be loaded in the current window. You can try to check whether the pop-up is opened in a new window, if it is, you could change the method of opening the new page.

0 Votes 0 ·

How to do that in Xamarin Forms?

0 Votes 0 ·

I check the webpage, pop-up is opened in a new window .You could use webview in Xamarin.Forms and use customrenderer in Android and iOS. However , I'm afraid changing the method of opening the new page in your html is a direct way, such as displaying a dislog.
126023-image.png
125910-image.png


0 Votes 0 ·
image.png (63.0 KiB)
image.png (32.4 KiB)

0 Answers