UAInAppMessageHTMLStyle

@interface UAInAppMessageHTMLStyle : NSObject <UAInAppMessageStyleProtocol>

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 (readwrite, strong, nonatomic) UAPadding *_Nonnull additionalPadding;

    Swift

    var additionalPadding: UAPadding { get set }
  • 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 }
  • Flag to hide the dismiss icon.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL hideDismissIcon;

    Swift

    var hideDismissIcon: Bool { get set }