SBSDKUICroppingScreenUIConfiguration

@interface SBSDKUICroppingScreenUIConfiguration : NSObject

Subconfiguration for user interface of the page cropping screen.

  • Foreground color of the top bar buttons (Done, Cancel).

    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 }
  • Text color of the title in the top bar.

    Declaration

    Objective-C

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

    Swift

    var titleColor: UIColor { get set }
  • Text color of the hint title.

    Declaration

    Objective-C

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

    Swift

    var hintTitleColor: UIColor { get set }
  • Foreground color of the rotate button.

    Declaration

    Objective-C

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

    Swift

    var bottomBarButtonsColor: UIColor { get set }
  • Background color of the bottom bar.

    Declaration

    Objective-C

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

    Swift

    var bottomBarBackgroundColor: UIColor { get set }
  • The line color of the current polygon that crops the page.

    Declaration

    Objective-C

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

    Swift

    var polygonColor: UIColor { get set }
  • The line color of the detected polygon that crops the page.

    Declaration

    Objective-C

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

    Swift

    var polygonColorMagnetic: UIColor { get set }
  • Background color of the view. Same as viewController.view.backgroundColor.

    Declaration

    Objective-C

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

    Swift

    var backgroundColor: UIColor { get set }
  • Allowed orientations for automatic interface rotations. *

    Declaration

    Objective-C

    @property (nonatomic) UIInterfaceOrientationMask allowedInterfaceOrientations;

    Swift

    var allowedInterfaceOrientations: UIInterfaceOrientationMask { get set }
  • Whether the rotate button is hidden or not.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite,
              getter=isRotateButtonHidden) BOOL rotateButtonHidden;

    Swift

    var isRotateButtonHidden: Bool { get set }
  • Whether the detect/reset button is hidden or not.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite,
              getter=isDetectResetButtonHidden) BOOL detectResetButtonHidden;

    Swift

    var isDetectResetButtonHidden: Bool { get set }