Instance Property

options

The behaviors associated with the action.

Declaration

iOS, Mac Catalyst, watchOS
@property(readonly, nonatomic) UNNotificationActionOptions options;
macOS
@property(readonly, atomic) UNNotificationActionOptions options;

Discussion

Options should be applied to an action when the corresponding behavior is required.

See Also

Getting the Action Options

UNNotificationActionOptionNone

The action has the default behavior.

UNNotificationActionOptions

The behaviors you can apply to an action.