Banner
struct Banner : Equatable, Sendable
Banner in-app message theme
-
Max width
Declaration
Swift
public var maxWidth: CGFloat -
Padding
Declaration
Swift
public var padding: EdgeInsets -
Tap opacity when the banner is tappable
Declaration
Swift
public var tapOpacity: CGFloat -
Shadow theme
Declaration
Swift
public var shadow: InAppMessageTheme.Shadow -
Header theme
Declaration
Swift
public var header: InAppMessageTheme.Text -
Body theme
Declaration
Swift
public var body: InAppMessageTheme.Text -
Button theme
Declaration
Swift
public var buttons: InAppMessageTheme.Button -
Default plist file for overrides
Declaration
Swift
public static let defaultPlistName: String -
Applies a style from a plist to the theme.
Declaration
Swift
public mutating func applyPlist(plistName: String, bundle: Bundle? = Bundle.main) throwsParameters
plistNameThe name of the plist
bundleThe plist bundle.
View on GitHub