UAInAppMessageHTMLStyle
Objective-C
@interface UAInAppMessageHTMLStyle : NSObject <UAInAppMessageStyleProtocol>
Swift
class InAppMessageHTMLStyle : NSObject, InAppMessageStyleProtocol
Model object representing a custom style to be applied to HTML 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 }
-
Flag to hide the dismiss icon.
Declaration
Objective-C
@property (nonatomic) BOOL hideDismissIcon;
Swift
var hideDismissIcon: Bool { get set }
-
Extend full screen on large device.
Declaration
Objective-C
@property (nonatomic) BOOL extendFullScreenLargeDevice;
Swift
var extendFullScreenLargeDevice: Bool { get set }