iOS
Creating the Face SDK, we strive to make your experience with customization and integration of its UI modules to your application as seamless as possible.
Info
Sample Apps cover a lot of examples and show the source code for the customization ways described in this section. It is highly recommended to see the code and check how it affects the UI.
Configuration
The easiest way to customize the behavior or UI appearance is to use the Configuration classes provided for each UI module: LivenessConfiguration
and FaceCaptureConfiguration
.
Configurations are intended for the most common use cases and offer you configuration properties that you can change right before showing the UI to the screen.
For more information, check out the Catalog App or SDK Reference.
UIAppearance
UIAppearance is a more flexible approach to utilize the system's built-in way of styling the view appearance. With the UIAppearance proxy, you can change a wide variety of UI properties from custom ones provided by the Face SDK to standard ones from the UIKit itself.
You can find more details in the UIAppearance customization article.
Class Overriding
Class overriding is a bit more complex feature in comparison to Configuration or UIAppearance, but it provides great flexibility and control over the UI hierarchy.
The Face SDK lets you register a custom subclass in place of our internal view class. For more information and examples, please take a look at our article about Class Overriding.