Here you can find an implementation example for the FaceCamera module. You'll see a SwiftUI approach in FaceCameraSampleAppSwiftUI, and a UIKit implementation sample in the FaceCameraSampleApp app target. You can find SDK documentation here
The FaceCamera module provides a plug-and-play face capture component designed to simplify user identification workflows. This sample app demonstrates how to integrate and use the module in both SwiftUI and UIKit environments.
-
Add the following XCFrameworks to
/Frameworksdirectory and your project:FaceCamera.xcframeworkIDLiveFaceCamera.xcframeworkIDLiveFaceIAD.xcframework
-
In your target’s Frameworks, Libraries, and Embedded Content, ensure all three are set to Embed & Sign.

-
Add an additional string catalog named
InfoPlist.xcstringsto your project to localize the Info.plist file of your project.- Add a key named NSCameraUsageDescription to customize the camera permission request message.
<key>NSCameraUsageDescription</key> <string>This app requires camera access for identity verification.</string>
-
Customise the localised messages for the face camera module following the keys provided in the documentation
-
Import the module where needed:
import FaceCamera
- Open
FaceCameraSampleApp.xcodeproj - To try the SwiftUI implementation: select the
FaceCameraSampleAppSwiftUIscheme and run. - To try the UIKit implementation: select the
FaceCameraSampleAppscheme and run.
- iOS 15.0+
- FaceCamera 1.0.2
