Skip to content
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

Bug: [IOS 15] Swiping down to cancel the file chooser do not trigger documentPickerWasCancelled #48

Open
hieunguyen2211 opened this issue Oct 2, 2023 · 1 comment

Comments

@hieunguyen2211
Copy link

UIDocumentPickerDelegate.documentPickerWasCancelled is not triggered when the user swipes down to cancel the file chooser. This method can work normally with the "Cancel" button. This bug does not happen on IOS 16.

OS: IOS 15.7.8 + IOS 14.1

@otak1222
Copy link

otak1222 commented Jan 3, 2024

Hello hieunguyen2211,

I also encountered a similar issue with iOS 15.8. As a workaround, I enabled modalInPresentation to disable the swipe-down gesture. It works by wrapping the UIViewController and enabling modalInPresentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants