UAInAppMessageModalStyle
Objective-C
@interface UAInAppMessageModalStyle : NSObject <UAInAppMessageStyleProtocol>
Swift
class InAppMessageModalStyle : NSObject, InAppMessageStyleProtocol
Model object representing a custom style to be applied to modal in-app messages.
-
The constants added to the default spacing between a view and its parent.
Declaration
Objective-C
@property (nonatomic, strong) UAPadding *_Nonnull additionalPadding;
Swift
var additionalPadding: Padding { get set }
-
The dismiss icon image resource name.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSString *dismissIconResource;
Swift
var dismissIconResource: String? { get set }
-
The max width in points.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSNumber *maxWidth;
Swift
var maxWidth: NSNumber? { get set }
-
The max height in points.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSNumber *maxHeight;
Swift
var maxHeight: NSNumber? { get set }
-
The header text style
Declaration
Objective-C
@property (nonatomic, strong, nullable) UAInAppMessageTextStyle *headerStyle;
Swift
var headerStyle: InAppMessageTextStyle? { get set }
-
The body text style
Declaration
Objective-C
@property (nonatomic, strong, nullable) UAInAppMessageTextStyle *bodyStyle;
Swift
var bodyStyle: InAppMessageTextStyle? { get set }
-
The button component style
Declaration
Objective-C
@property (nonatomic, strong, nullable) UAInAppMessageButtonStyle *buttonStyle;
Swift
var buttonStyle: InAppMessageButtonStyle? { get set }
-
The media component style
Declaration
Objective-C
@property (nonatomic, strong, nullable) UAInAppMessageMediaStyle *mediaStyle;
Swift
var mediaStyle: InAppMessageMediaStyle? { get set }
-
Extend full screen on large device.
Declaration
Objective-C
@property (nonatomic) BOOL extendFullScreenLargeDevice;
Swift
var extendFullScreenLargeDevice: Bool { get set }