The background color of the enrollment screen
The color of the texts
The color of the animated circle during the authentication
The color of the spinning dots during the enrollment
Keyless.UI.Color.backgroundColor = .grayKeyless.UI.Color.foregroundColor = .lightGrayKeyless.UI.Color.primaryColor = .magentaKeyless.UI.Color.secondaryColor = .cyan
Please note that during the enrollment, a maximum of three lines of text can be displayed and during the authentication/de-enrollment a maximum of two lines of text can be displayed.
Position your face within the frame
Enrolling, please wait… → showed until 33%
Enrolling, please wait… → showed until 66%
Enrolling, please wait… → showed until 100%
Keyless account created successfully!
Please look into the camera
Communicating with the Keyless network
// Custom text for enrollmentKeyless.UI.Text.Enrollment.Step1.text1 = "(custom) Position your face within the frame"Keyless.UI.Text.Enrollment.Step2.text1 = "(custom 1) Enrolling, please wait…"Keyless.UI.Text.Enrollment.Step2.text2 = "(custom 2) Enrolling, please wait…"Keyless.UI.Text.Enrollment.Step2.text3 = "(custom 3) Enrolling, please wait…"Keyless.UI.Text.Enrollment.Step3.text1 = "(custom) Keyless account created successfully!"// Custom text for authenticationKeyless.UI.Text.Authentication.Step1.text1 = "(custom) Please look into the camera"Keyless.UI.Text.Authentication.Step2.text1 = "(custom) Communicating with the Keyless network"Keyless.UI.Text.Authentication.Step3.text1 = "(custom) Approved"
Use any font available in your iOS app.
// Custom fontsKeyless.UI.Font.regularFontSize = 20Keyless.UI.Font.regularFontName = "Your custom font"Keyless.UI.Font.smallFontSize = 14Keyless.UI.Font.smallFontName = "Your custom font"
Any custom logo can be used and it will be shown in the upper-right corner of the enrollment/de-enrollment and authentication views, it will be resized but not stretched.
contentMode is set to
Keyless.UI.Image.logoImage = UIImage(named: "your custom image")