Enumeration Case

UNNotificationActionOptionDestructive

The action performs a destructive task.

Declaration

UNNotificationActionOptionDestructive = (1 << 1)

Discussion

Use this option for actions that delete user data or change the app irrevocably. The action button is displayed with special highlighting to indicate that it performs a destructive task.