SBSDKUIMachineCodeScannerUIConfiguration

@interface SBSDKUIMachineCodeScannerUIConfiguration : NSObject

Subconfiguration for user interface of the detector screens for bar codes, QR codes and machine readable zones.

  • Foreground color of the cancel button.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var cameraOverlayColor: UIColor { get set }
  • Foreground color of the detection overlay.

    Declaration

    Objective-C

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

    Swift

    var finderLineColor: UIColor { get set }
  • Width of finde frame border. Default is 2.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat finderLineWidth;

    Swift

    var finderLineWidth: CGFloat { get set }
  • Width of finder frame. Is limited to superview width. Default is 303.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat finderWidth;

    Swift

    var finderWidth: CGFloat { get set }
  • Height of finder frame. Is limited to either superview height, or ui components, like bars, labels or buttons. Default is 303.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat finderHeight;

    Swift

    var finderHeight: CGFloat { get set }
  • Foreground color of the description label.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nonnull)
        UIColor *bottomButtonsInactiveColor;

    Swift

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

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nonnull)
        UIColor *bottomButtonsActiveColor;

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic)
        UIInterfaceOrientationMask allowedInterfaceOrientations;

    Swift

    var allowedInterfaceOrientations: UIInterfaceOrientationMask { get set }