SBSDKUINFCPassportReaderUIConfiguration

@interface SBSDKUINFCPassportReaderUIConfiguration : NSObject

Subconfiguration for user interface of the NFC reader screen.

  • Foreground color of the cancel button and selected flash button.

    Declaration

    Objective-C

    @property (nonatomic, strong, nonnull) UIColor *topBarButtonsColor;

    Swift

    var topBarButtonsColor: UIColor { get set }
  • Background color of the top bar.

    Declaration

    Objective-C

    @property (nonatomic, strong, nonnull) UIColor *topBarBackgroundColor;

    Swift

    var topBarBackgroundColor: UIColor { get set }
  • Foreground color of the flash button when the flash is off.

    Declaration

    Objective-C

    @property (nonatomic, strong, nonnull) UIColor *topBarButtonsInactiveColor;

    Swift

    var topBarButtonsInactiveColor: UIColor { get set }
  • Background color of the detection overlay.

    Declaration

    Objective-C

    @property (nonatomic, strong, nonnull) UIColor *cameraOverlayColor;

    Swift

    var cameraOverlayColor: UIColor { get set }
  • Width of inner finder frame border. Default is 2.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat finderLineWidth;

    Swift

    var finderLineWidth: CGFloat { get set }
  • Foreground color of the detection overlay.

    Declaration

    Objective-C

    @property (nonatomic, strong, nonnull) UIColor *finderLineColor;

    Swift

    var finderLineColor: UIColor { get set }
  • Foreground color of the description label.

    Declaration

    Objective-C

    @property (nonatomic, strong, nonnull) UIColor *finderTextHintColor;

    Swift

    var finderTextHintColor: UIColor { get set }
  • Color of the progress bar.

    Declaration

    Objective-C

    @property (nonatomic, strong, nonnull) UIColor *progressBarColor;

    Swift

    var progressBarColor: UIColor { get set }
  • Whether the cancel button is hidden or not.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite,
              getter=isCancelButtonHidden) BOOL cancelButtonHidden;

    Swift

    var isCancelButtonHidden: Bool { get set }
  • Allowed orientations for automatic interface rotations. *

    Declaration

    Objective-C

    @property (nonatomic) UIInterfaceOrientationMask allowedInterfaceOrientations;

    Swift

    var allowedInterfaceOrientations: UIInterfaceOrientationMask { get set }