Configure the presentation delegate
Last updated: October 28, 2024
By default, the iOS SDK gets a reference to your app delegate's windows rootViewController
. You can present iProov as part of a UINavigationController
-based flow. The presentationDelegate
property allows you to override the presentation and dismissal behavior. For details see: https://github.com/iProov/ios/#custom-iproovpresentationdelegate
You must follow these rules when using IProovPresentationDelegate
:
The iProov view controller requires full coverage of the entire screen. You must ensure that the view controller is entirely removed from the user's view after it is dismissed.
Options
only holds a weak reference to your presentation delegate. Ensure that your presentation delegate is retained for the lifetime of the iProov capture session.
Next step