Structure

UNNotificationActionOptions

The behaviors you can apply to an action.

Declaration

struct UNNotificationActionOptions

Topics

Constants

static var authenticationRequired: UNNotificationActionOptions

The action can be performed only on an unlocked device.

static var destructive: UNNotificationActionOptions

The action performs a destructive task.

static var foreground: UNNotificationActionOptions

The action causes the app to launch in the foreground.

Relationships

Conforms To

See Also

Getting the Action Options

var options: UNNotificationActionOptions

The behaviors associated with the action.

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