-
Notifications
You must be signed in to change notification settings - Fork 50
Creation
Yegor Miroshnichenko edited this page Jul 7, 2018
·
4 revisions
To create instance of StatusAlert
call initializer
let alert = StatusAlert()
NOTE
At least one of optional image, title or message should not be nil, otherwise alert will not be shown.
public var image: UIImage?
Optional, should be 90x90 for @1x size. Displayed on top of alert.
public var title: String?
Optional, displayed under image (if present) or on top of alert.
public var message: String?
Optional, displayed at the bottom of alert, under title and image.
public var canBePickedOrDismissed: Bool
Determines whether alert can be picked by long tap to delay dismissal and tap to be dismissed. If false
controls beyond alert will receive touch events.