SBSDKUIDialogStyle
@interface SBSDKUIDialogStyle : NSObject
The general style for a dialog in ScanbotSDK. Used to customize certain result dialogs in SBSDKUI components.
-
The color of the screen-covering backdrop view. Defaults to a very transparent black.
Declaration
Objective-C
@property (nonatomic, strong) UIColor *_Nonnull screenBackgroundColor;
Swift
var screenBackgroundColor: UIColor { get set }
-
The general background color of the actual dialog view. Defaults to a very light grey with subtle transparency.
Declaration
Objective-C
@property (nonatomic, strong) UIColor *_Nonnull dialogBackgroundColor;
Swift
var dialogBackgroundColor: UIColor { get set }
-
The visual effect of the dialogs background. Defaults to a system like blur with regular vibrance.
Declaration
Objective-C
@property (nonatomic, strong) UIVisualEffect *_Nonnull dialogBackgroundEffect;
Swift
var dialogBackgroundEffect: UIVisualEffect { get set }
-
The corner radius of the dialog. Defaults to 13 points.
Declaration
Objective-C
@property (nonatomic) CGFloat cornerRadius;
Swift
var cornerRadius: CGFloat { get set }
-
The color of the dialogs title. Defaults to black.
Declaration
Objective-C
@property (nonatomic, strong) UIColor *_Nonnull titleColor;
Swift
var titleColor: UIColor { get set }
-
The font of the dialogs title. Defaults to System font Bold 17.0.
Declaration
Objective-C
@property (nonatomic, strong) UIFont *_Nonnull titleFont;
Swift
var titleFont: UIFont { get set }
-
The color of the dialogs message. Defaults to black.
Declaration
Objective-C
@property (nonatomic, strong) UIColor *_Nonnull messageColor;
Swift
var messageColor: UIColor { get set }
-
The font of the dialogs message. Defaults to System font Regular 13.0.
Declaration
Objective-C
@property (nonatomic, strong) UIFont *_Nonnull messageFont;
Swift
var messageFont: UIFont { get set }
-
The color of the separators around the dialogs button area. Defaults to a light grey with a small amount of transparency.
Declaration
Objective-C
@property (nonatomic, strong) UIColor *_Nonnull separatorColor;
Swift
var separatorColor: UIColor { get set }
-
The width of the separators in points. Defaults to 0.5 points.
Declaration
Objective-C
@property (nonatomic) CGFloat separatorWidth;
Swift
var separatorWidth: CGFloat { get set }
-
The default style that mimics an iOS UIdialogController.
Declaration
Objective-C
+ (nonnull instancetype)defaultStyle;
Swift
class func `default`() -> Self