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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var isDetectResetButtonHidden: Bool { get set }