Bug: [IOS 15] Swiping down to cancel the file chooser do not trigger documentPickerWasCancelled
hieunguyen2211 opened this issue · comments
hieunguyen2211 commented
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
oTak commented
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.