---
title: isDestructive
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiusernotificationaction/isdestructive
---

# isDestructive

A Boolean value indicating whether the action is destructive.

## Declaration

```swift
var isDestructive: Bool { get }
```

## Discussion

Discussion Use this property to signal to the user whether the action causes destructive behavior to the user’s data or the app. When the value of this property is true, the system displays the corresponding button differently to indicate that the action is destructive. The default value of this property is false.

## See Also

### Getting the action’s configuration

- [activationMode](uikit/uiusernotificationaction/activationmode.md)
- [isAuthenticationRequired](uikit/uiusernotificationaction/isauthenticationrequired.md)
- [behavior](uikit/uiusernotificationaction/behavior.md)
- [parameters](uikit/uiusernotificationaction/parameters.md)
