Start Liveness Verification
Calling startSDK
Parameter
Required
Description
Example
import CafFaceLivenessLite
class ViewController: UIViewController {
private let sdk = CafFaceLivenessLiteSDK()
override func viewDidLoad() {
super.viewDidLoad()
sdk.delegate = self
}
func startLiteLiveness() {
sdk.startSDK(
viewController: self,
mobileToken: "your_mobile_token",
personId: "your_person_id",
customLocalization: nil,
customLocalizationBundle: nil,
environment: .prod,
loading: true
)
}
}Custom localization with a framework bundle
UI customization
Last updated

