UAInAppMessageModalStyle

@interface UAInAppMessageModalStyle : NSObject <UAInAppMessageStyleProtocol>

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 (readwrite, strong, nonatomic) UAPadding *_Nonnull additionalPadding;
  • The dismiss icon image resource name.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable) NSString *dismissIconResource;

    Swift

    var dismissIconResource: String? { get set }
  • The max width in points.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable) NSNumber *maxWidth;

    Swift

    var maxWidth: NSNumber? { get set }
  • The max height in points.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable) NSNumber *maxHeight;

    Swift

    var maxHeight: NSNumber? { get set }
  • The header text style

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable)
        UAInAppMessageTextStyle *headerStyle;

    Swift

    var headerStyle: UAInAppMessageTextStyle? { get set }
  • The body text style

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var mediaStyle: UAInAppMessageMediaStyle? { get set }