UAInAppMessageModalStyle

Objective-C

@interface UAInAppMessageModalStyle : NSObject <UAInAppMessageStyleProtocol>

Swift

class UAInAppMessageModalStyle : NSObject, UAInAppMessageStyleProtocol

Model object representing a custom style to be applied to modal in-app messages.

Modal Style Properties

  • 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: UAPadding { 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: UAInAppMessageTextStyle? { get set }
  • The body text style

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) UAInAppMessageTextStyle *bodyStyle;

    Swift

    var bodyStyle: UAInAppMessageTextStyle? { get set }
  • The button component style

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) UAInAppMessageButtonStyle *buttonStyle;

    Swift

    var buttonStyle: UAInAppMessageButtonStyle? { get set }
  • The media component style

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) UAInAppMessageMediaStyle *mediaStyle;

    Swift

    var mediaStyle: UAInAppMessageMediaStyle? { get set }