Instance Property

title

The title of the action’s button.

Declaration

var title: String? { get }

Discussion

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.