Instance Property

style

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

Declaration

var style: UIAlertAction.Style { 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 title: String?

The title of the action’s button.

var isEnabled: Bool

A Boolean value indicating whether the action is currently enabled.