Unico IDCloud - DevCenter
HomepageAuthenticationAPIsSDKs
English (United States)
English (United States)
  • Welcome
  • GETTING STARTED
    • Unico IDCloud
    • Capabilities
    • Integration Methods
    • Capabilities and Integration Methods
  • INTEGRATIONS
    • Quickstart
    • Authentication
      • Creating a Service Account
      • Preparing to Make an Authenticated API Request
      • Additional Resources
        • Example in Javascript
        • Authentication Errors
        • Postman Collection
    • Integration by Unico
      • Overview
      • API
        • API Reference
          • CreateProcess
            • CreateProcess separated by flows
          • GetProcess
          • GetSelfie
          • GetEvidenceSet
            • Specification of the evidential set
          • GetDocumentSigned
          • GetEvidenceSign
        • Errors
      • Controlling the experience
        • Redirecting the user
        • SDK
        • QR Code
        • Customizations
      • Additional Resources
        • Postman Collection
        • PoCs available
    • Integration by Client
      • Overview
      • API
        • API Reference
          • Liveness + Identity Verification + Behavior Alert
          • Liveness + Identity Verification + Behavior Alert + Risk Score
          • Liveness + Validation (1:1) + Behavior Alert
          • Document Capture and Reuse
        • Response Scenarios
        • Additional Resources
          • Postman Collection
      • Capture standard (without SDK)
    • Webhook
    • SDK
      • Overview
      • Update Policy
      • SDK Integration
        • Android SDK
          • Installation Guide
          • Usage and Integration Guide
            • Selfie Capture
            • Document Capture
          • Error Handling Guide
          • Android Customization
          • Troubleshooting
          • Release notes
        • iOS SDK
          • Installation Guide
          • Usage and Integration Guide
            • Selfie Capture
            • Document Capture
          • Error Handling Guide
          • iOS Customization
          • Troubleshooting
          • Release notes
        • Flutter SDK
          • Installation Guide
          • Usage and Integration Guide
            • Selfie Capture
            • Document Capture
          • Error Handling Guide
          • Flutter Customization
          • Troubleshooting
          • Release notes
        • Web SDK
          • Installation Guide
          • Usage and Integration Guide
            • Selfie Capture
            • Document Capture
            • Accessibility
          • Error Handling Guide
          • Web Customization
          • Release notes
      • Additional Resources
        • Available PoCs
        • Best Practices for SDK Implementation
  • help & faq
    • Glossary
    • Help Center
Powered by GitBook

Institucional

  • Sobre nós

Copyright © 2024 unico. All rights reserved

On this page
  • Customize Language
  • Customize Capture Experience

Was this helpful?

Export as PDF
  1. INTEGRATIONS
  2. SDK
  3. SDK Integration
  4. iOS SDK

iOS Customization

In this section, you will find all the information necessary for customizing the SDK of the Unico IDCloud platform in your Android applications


The Android SDK allows for some customizations to be made. Below are all the possible customizations for this SDK.

Customize Language


It is possible to configure the experience of the informational messages in the capture frames by changing their language. Use the enumerated type LocaleTypes, which contains the following values:

  • LocaleTypes.PT_BR: for Portuguese(Brazil);

  • LocaleTypes.ES_MX: for Spanish(Mexico);

  • LocaleTypes.ES_ES: for Spanish(Spain);

  • LocaleTypes.EN_US: for English(USA).

See how to implement it in the example below:

[unicoCheck setLocale:EN_US];
unicoCheck.setLocale(.EN_US);
  • A remote activation may be required to use this feature. If you wish to use it, please notify your project manager or Unico support.

  • If not configured, by default the SDK uses Portuguese as the primary language.

Customize Capture Experience


This is an optional step, but highly recommended for the capture process to have your company's visual identity.

It is possible to customize some objects of the frame according to the camera mode used, through the setTheme() method.

The supported types for color representation are Color Resource or String containing the hexadecimal color code. For example: R.color.red or #FF0000.

All methods are available below:

Method
Description

getColorSilhouetteSuccess()

Method used to customize the success color of the silhouette.

getColorSilhouetteError()

Method used to customize the error color of the silhouette.

getColorBackground()

Method used to customize the background color of the silhouette.

getColorBoxMessage()

Method used to customize the background color of the message.

getColorTextMessage()

Method used to customize the text color of the message.

getColorTextPopupError()

Method used to customize the text and icon color of the error popup.

getColorBackgroundPopupError()

Method used to customize the background color of the error popup.

getColorBackgroundButtonPopupError()

Method used to customize the background color of the popup button.

getColorTextButtonPopupError()

Method used to customize the text color of the popup button.

getColorBackgroundTakePictureButton()

Method used to customize the background color of the manual photo capture button.

getColorIconTakePictureButton()

Method used to customize the icon color of the manual photo capture button.

getColorBackgroundBottomDocument()

Method used to customize the background color of the document capture box.

getColorTextBottomDocument()

Method used to customize the text color of the document capture box.

getImageIconPopupError()

Method used to customize the icon of the error popup, displayed when the face is incorrectly positioned within the capture frame.

getProgressBarColor() (opcional)

Optional method used to customize the loading icon color for the Liveness camera with interaction. If not implemented, getColorBoxMessage() will be used.

getCancelButtonIconColor() (opcional)

Optional method used to customize the cancel icon color for the Liveness camera with interaction. If not implemented, getColorBackgroundTakePictureButton() will be used.

Here are some examples of how you can use the above methods in your project:

.h:
#import "AcessoBioThemeDelegate.h"

@interface ViewController : UIViewController  {

@end

.m:
#import "ViewController.h"
#import <AcessoBio/AcessoBio.h>

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    unicoCheck = [[AcessoBioManager alloc]initWithViewController:self];
}

- (id)getColorBackground {
    code
}

- (id)getColorBackgroundBottomDocument {
    code
}

- (id)getColorBackgroundButtonPopupError {
    code
}

- (id)getColorBackgroundPopupError {
    code
}

- (id)getColorBackgroundTakePictureButton {
    code
}

- (id)getColorBoxMessage {
    code
}

- (id)getColorIconTakePictureButton {
    code
}

- (id)getColorSilhouetteError {
    code
}

- (id)getColorSilhouetteSuccess {
    code
}

- (id)getColorTextBottomDocument {
    code
}

- (id)getColorTextButtonPopupError {
    code
}

- (id)getColorTextMessage {
    code
}

- (id)getColorTextPopupError {
    code
}

- (id) getProgressBarColor {
    code
}

- (id) getCancelButtonIconColor {
    code
}

@end
import UIKit
import AcessoBio

class ViewController: UIViewController, AcessoBioManagerDelegate, AcessoBioThemeDelegate {

    var unicoCheck: AcessoBioManager!

    override func viewDidLoad() {
        super.viewDidLoad()
        
        unicoCheck = AcessoBioManager(viewController: self)
        unicoCheck.setTheme(self)
    }
 

    func getColorBackground() -> Any! {
        code
    }

    func getColorBoxMessage() -> Any! {
        code
    }

    func getColorTextMessage() -> Any! {
        code
    }

    func getColorBackgroundPopupError() -> Any! {
        code
    }

    func getColorTextPopupError() -> Any! {
        code
    }

    func getColorBackgroundButtonPopupError() -> Any! {
        code
    }

    func getColorTextButtonPopupError() -> Any! {
        code
    }

    func getColorBackgroundTakePictureButton() -> Any! {
        code
    }

    func getColorIconTakePictureButton() -> Any! {
        code
    }

    func getColorBackgroundBottomDocument() -> Any! {
        code
    }

    func getColorTextBottomDocument() -> Any! {
        code
    }

    func getColorSilhouetteSuccess() -> Any! {
        code
    }

    func getColorSilhouetteError() -> Any! {
        code
    } 

    func getProgressBarColor() -> Any! {
        code
    }

    func getCancelButtonIconColor() -> Any! {
        code
    }
} 

PreviousError Handling GuideNextTroubleshooting

Last updated 2 months ago

Was this helpful?

Still need help?

Didn't find something or still need help? If you're already a client or partner, you can reach out through our .

​
Help Center