-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting of presentationStyle not working on iOS #213
Comments
panndoraBoo
changed the title
Disable close InAppBrowser on swipe (iOs)
!Setting of presentationStyle not working on iOS (13)
Dec 10, 2019
Ok! Thanks! |
pichillilorenzo
changed the title
!Setting of presentationStyle not working on iOS (13)
Setting of presentationStyle not working on iOS
Dec 18, 2019
@pichillilorenzo I'm also facing the same issue here. Can you please let me know in which release the fix is going to be? |
This change is available from |
This was referenced Jul 6, 2020
Closed
Closed
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: