---
title: activationMode
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiusernotificationaction/activationmode
---

# activationMode

The mode in which to run the app when the action is performed.

## Declaration

```swift
var activationMode: UIUserNotificationActivationMode { get }
```

## Discussion

Discussion If the value in this property is UIUserNotificationActivationMode.foreground, the value of the isAuthenticationRequired property is assumed to be true regardless of its actual value.

## See Also

### Getting the action’s configuration

- [isAuthenticationRequired](uikit/uiusernotificationaction/isauthenticationrequired.md)
- [isDestructive](uikit/uiusernotificationaction/isdestructive.md)
- [behavior](uikit/uiusernotificationaction/behavior.md)
- [parameters](uikit/uiusernotificationaction/parameters.md)
