Instance Property

parameters

A dictionary of additional parameters to include with the action.

Declaration

var parameters: [AnyHashable : Any] { get set }

Discussion

Use this dictionary to specify any behavior-specific data for the action. For example, the UIUserNotificationActionBehaviorTextInput behavior supports the UIUserNotificationTextInputActionButtonTitleKey key, which lets you customize the title of the button displayed by the text input interface.

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 behavior: UIUserNotificationActionBehavior

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

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