MimiAlert
public class MimiAlert : NSObject
Object describing an alert to show.
-
Title describing the alert.
Declaration
Swift
public let title: String?
-
Message describing the alert details.
Declaration
Swift
public let message: String?
-
Image to provide alert context.
Declaration
Swift
public let image: UIImage?
-
Collection of actions for the alert.
Declaration
Swift
public let actions: [MimiAlertAction]
-
Accessibility identifier for the alert view
Declaration
Swift
public var accessibilityId: String?
-
Create a new alert.
Declaration
Swift
public init(title: String?, message: String?, image: UIImage? = nil, actions: [MimiAlertAction]?)
Parameters
title
Title describing the alert.
message
Message describing the alert details.
image
Image to provide alert context.
actions
Collection of actions for the alert.