You can customize the AuthenteqFlow
appearance with a custom color scheme by instantiat a newAuthenteqFlowTheme
class.
let theme = AuthenteqFlowTheme(primaryColor: UIColor.red,textColor: UIColor.black,screenBackgroundColor: UIColor.white,viewBackgroundHightlightColor: UIColor.lightGray,separatorColor: UIColor.gray,font: UIFont(name: "Roboto-Regular", size: 16)!,boldFont: UIFont(name: "Roboto-Bold", size: 16)!,identificationInstructionImageForSelfie: nil,identificationInstructionImageForPassport: nil,identificationInstructionImageForDriverLicense: nil,identificationInstructionImageForIdCard: nil)AuthenteqFlow.instance.theme = theme
AuthenteqFlowTheme *theme= [[AuthenteqFlowTheme alloc]initWithPrimaryColor: [UIColor redColor]textColor: [UIColor blackColor]screenBackgroundColor: [UIColor whiteColor]viewBackgroundHightlightColor: [UIColor lightGray]separatorColor: [UIColor gray]font: [UIFont fontWithName:@"Roboto-Regular" size:16]boldFont: [UIFont fontWithName:@"Roboto-Bold" size:16]identificationInstructionImageForSelfie: nilidentificationInstructionImageForPassport: nilidentificationInstructionImageForDriverLicense: nilidentificationInstructionImageForIdCard:nil];[[AuthenteqFlow instance] setTheme:theme];
Property name | Type | Description |
| UIColor | Main color of your scheme |
| UIColor | Text color |
| UIColor | Background color for all screens |
| UIColor | Color for some highlighted area in screen background |
| UIColor | Color for table view cells separator |
| UIColor | Color for selected buttons text |
| UIColor | Background color for selected buttons |
| UIFont | Font for text |
| UIFont | Font for bold text |
| UIImage | Custom image for Selfie Authentication instructions. We recommend using images smaller than 300dp |
| UIImage | Custom image for passport scan instructions. We recommend using images smaller than 300dp |
| UIImage | Custom image for driver's license scan instructions. We recommend using images smaller than 300dp |
| UIImage | Custom image for ID card scan instructions. We recommend using images smaller than 300dp |