Instance Property

behavior

The custom behavior (if any) that the action supports.

Declaration

var behavior: UIUserNotificationActionBehavior { get set }

Discussion

The default value of this property is UIUserNotificationActionBehaviorDefault.

See Also

Configuring the Action’s Behavior

var activationMode: UIUserNotificationActivationMode

The mode in which to run the app when the action is performed.

Deprecated
var isAuthenticationRequired: Bool

A Boolean value indicating whether the user must unlock the device before the action is performed.

Deprecated
var isDestructive: Bool

A Boolean value indicating whether the action is destructive.

Deprecated
var parameters: [AnyHashable : Any]

A dictionary of additional parameters to include with the action.

Deprecated

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