Instance Property


The title of the action’s button.


var title: String? { get }


This property is set to the value you specified in the init(title:style:handler:) method.

See Also

Getting the Action’s Attributes

var style: UIAlertAction.Style

The style that is applied to the action’s button.

var isEnabled: Bool

A Boolean value indicating whether the action is currently enabled.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software