Make it look the way you want!
Bringing up the solutions from Face SDK as complete UI modules to your own application is very likely wanted to be customized and integrated seamlessly. Knowing that the Face SDK was designed with flexibility in mind and offers multiple ways to make the integration look like what you want!
Sample Apps cover a lot of examples and show the source code for customization ways described in this section. It is highly recommended to see the code and what it affects on the UI yourself!


The easiest way to customize behavior or UI appearance is to use Configuration classes provided for each UI module. LivenessConfiguration and FaceCaptureConfiguration. Configurations are intended for the most common use cases and offer you configuration properties you can change right before showing the UI to the screen.
For more information check out the Catalog App or SDK Reference.


UIAppearance is a more flexible approach is to utilize the system's built-in way of styling view appearance – UIAppearance proxy. This way you can change a wide variety of UI properties from custom ones provided by Face SDK to standard from the UIKit itself.
Please take a look at a dedicated article about UIAppearance customization.

Class Overriding

Class overriding is a slightly complex feature in comparison to Configuration or UIAppearance but allows you great flexibility and control over the UI hierarchy!
Face SDK provides you a way to 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.
Last modified 4mo ago