according to the documentation modalPresentationStyle behaviour changed:
Defaults to UIModalPresentationAutomatic on iOS starting in iOS 13.0, and UIModalPresentationFullScreen on previous versions.
By default UIViewController resolves UIModalPresentationAutomatic to UIModalPresentationPageSheet, but other system-provided view controllers may resolve UIModalPresentationAutomatic to other concrete presentation styles.
because of this change when compiled with xcode 11 and iOS 13, IdentityUI is presented in a way that it makes it possible to dismiss by swiping down, even if isCancelable is set to false
possible fixes include changing presentation style to .fullScreen or disabling swipe gesture when presented modally by setting isModalInPresentation to true
it might be good idea to tie this to isCancelable parameter of IdentityUI?
according to the documentation
modalPresentationStyle
behaviour changed:because of this change when compiled with xcode 11 and iOS 13, IdentityUI is presented in a way that it makes it possible to dismiss by swiping down, even if
isCancelable
is set to falsepossible fixes include changing presentation style to
.fullScreen
or disabling swipe gesture when presented modally by settingisModalInPresentation
to true it might be good idea to tie this toisCancelable
parameter of IdentityUI?those changes also have implications on close/save/dismiss type of buttons on modal presentation of view controllers, here's great article that explains everything: https://medium.com/@hacknicity/view-controller-presentation-changes-in-ios-13-ac8c901ebc4e