Enumeration

UIContextualAction.Style

Constants indicating the style information that is applied to the action button.

Declaration

enum Style : Int

Topics

Styles

case normal

A normal action.

case destructive

An action that deletes data or performs some type of destructive task.

See Also

Getting the Configuration Details

var handler: UIContextualAction.Handler

The handler block to execute when the user selects the action.

typealias UIContextualAction.Handler

The handler block to call in response to the selection of an action

var style: UIContextualAction.Style

The style that is applied to the action button.

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