Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure interactive dismissal of the Lock popup
On iPad, with a presentation style of .formSheet, the LockViewController could be dismissed by simply tapping outside the bounds of the modal, without regard for the `closable` [1] option. Setting `isModalInPresentation` [2] based on `closable` allows controlling whether or not UIKit should prevent the interactive dismissal of the popup. [1] https://auth0.com/docs/libraries/lock-swift/lock-swift-configuration-options#closable [2] https://developer.apple.com/documentation/uikit/uiviewcontroller/3229894-ismodalinpresentation
- Loading branch information