UAInAppMessageBannerStyle
Objective-C
@interface UAInAppMessageBannerStyle : NSObject <UAInAppMessageStyleProtocol>
Swift
class InAppMessageBannerStyle : NSObject, InAppMessageStyleProtocol
Model object representing a custom style to be applied to banner in-app message.
-
The constants added to the default spacing between a view and its parent.
Declaration
Objective-C
@property (nonatomic, strong, nullable) UAPadding *additionalPadding;
Swift
var additionalPadding: Padding? { 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 style
Declaration
Objective-C
@property (nonatomic, strong, nullable) UAInAppMessageButtonStyle *buttonStyle;
Swift
var buttonStyle: InAppMessageButtonStyle? { get set }
-
The media style
Declaration
Objective-C
@property (nonatomic, strong, nullable) UAInAppMessageMediaStyle *mediaStyle;
Swift
var mediaStyle: InAppMessageMediaStyle? { get set }
-
The max width in points.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSNumber *maxWidth;
Swift
var maxWidth: NSNumber? { get set }