destructive
The action performs a destructive task.
Declaration
static var destructive: UNNotificationActionOptions { get }Mentioned in
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.