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
Hi there!
First, thank you so much for this plugin, it has been a lifesaver for me.
So I have found out the setting of the presentationstyle doesn't seem to work (at least in ios13) I think it is because it is set too late in the native ios code. If I set
webViewController.modalPresentationStyle = UIModalPresentationStyle.fullScreen
hardcoded in "SwiftFlutterPlugin.swift" at "open", it displays a fullscreen popup. I'm totally new to Swift so I am not really able to fix it in a correct way, but maybe it helps you to fix it :)
Original question:
I wanted to ask if there's an option to disable the closing of the in-app browser when the user swipes it down in ios. I want to disallow the user to close the in-app browser on its own and thought I handled it with removing the close button. But I found out by accidentally swiping the window down, it also closes/hides. It also doesn't fire the on close callback.
I've flutter_inappwebview: ^2.1.0+1 (but it also occurred on older versions) and am using the plugin on an iPad.
Please help. If the browser is closed by dragging, the whole app freezes and can't do anything anymore.
The text was updated successfully, but these errors were encountered:
panndoraBoo
changed the title
Disable close InAppBrowser on swipe (iOs)
!Setting of presentationStyle not working on iOS (13)
Dec 10, 2019
Hi there!
First, thank you so much for this plugin, it has been a lifesaver for me.
So I have found out the setting of the presentationstyle doesn't seem to work (at least in ios13) I think it is because it is set too late in the native ios code. If I set
webViewController.modalPresentationStyle = UIModalPresentationStyle.fullScreen
hardcoded in "SwiftFlutterPlugin.swift" at "open", it displays a fullscreen popup. I'm totally new to Swift so I am not really able to fix it in a correct way, but maybe it helps you to fix it :)
Original question:
I wanted to ask if there's an option to disable the closing of the in-app browser when the user swipes it down in ios. I want to disallow the user to close the in-app browser on its own and thought I handled it with removing the close button. But I found out by accidentally swiping the window down, it also closes/hides. It also doesn't fire the on close callback.
I've flutter_inappwebview: ^2.1.0+1 (but it also occurred on older versions) and am using the plugin on an iPad.
Please help. If the browser is closed by dragging, the whole app freezes and can't do anything anymore.
The text was updated successfully, but these errors were encountered: