AlertViewController
public class AlertViewController: UIViewController
UIViewController subclass that displays the alert
-
Text that will be used as the title for the alert
Declaration
Swift
public var titleText: String?
-
Text that will be used as the body for the alert
Declaration
Swift
public var bodyText: String?
-
If set to false, alert wont auto-dismiss the controller when an action is clicked. Dismissal will be up to the action’s handler. Default is true.
Declaration
Swift
public var autoDismiss: Bool = true
-
If autoDismiss is set to true, then set this property if you want the dismissal to be animated. Default is true.
Declaration
Swift
public var dismissAnimated: Bool = true
-
Undocumented
Declaration
Swift
public class AlertViewController: UIViewController
-
Undocumented
Declaration
Swift
public class AlertViewController: UIViewController
-
Undocumented
Declaration
Swift
public class AlertViewController: UIViewController
-
Adds an ‘AlertAction’ to the alert controller. There can be maximum 2 actions. Any more will be ignored. The order is important.
Declaration
Swift
public func addAction(action: AlertAction)
Parameters
action
The ‘AlertAction’ to be added