iOS SDK
Last updated
Was this helpful?
Last updated
Was this helpful?
This documentation provides a comprehensive guide to integrating the Youverify Liveness iOS and Document Capture SDKs into your mobile applications. These SDKs enable real-time liveness detection to verify that users are physically present as well the capture of users document for real-time information extraction and verification. Two versions of our Liveness SDKs are available to suit different iOS versions and development frameworks:
YouverifyLivenessSDK: The recommended version, built with SwiftUI, requiring a minimum of iOS 14. Supports both Passive and Active Liveness.
YouverifyLivenessSDKCompat: The compatibility version, built with UIKit, requiring a minimum of iOS 12. Supports only Active Liveness.
Select the SDK that best fits your application's needs based on iOS version support and framework:
Minimum iOS Version
iOS 14
iOS 12
iOS 15
Framework
SwiftUI
UIKit
SwiftUi/UIKit
Passive Liveness
Supported (iOS 15+)
Not supported
N/A
Active Liveness
Supported
Supported
N/A
Recommended for
Modern apps using SwiftUI
Legacy apps using UIKit
Both SwiftUI and UIKit
Passive Liveness: Detects liveness without user interaction (e.g., blinking, skin texture analysis). Available only in YouverifyLivenessSDK.
Active Liveness: Requires users to perform actions (e.g., head movements, answering questions). Supported in both SDKs, with minimum iOS requirements as specified.
Note: If targeting iOS 14 with YouverifyLivenessSDK, only Active Liveness is available; Passive Liveness requires iOS 15+.
For in-depth guidance on integrating each SDK, refer to the following sections: