---
title: isEnabled
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uialertaction/isenabled
---

# isEnabled

A Boolean value indicating whether the action is currently enabled.

## Declaration

```swift
var isEnabled: Bool { get set }
```

## Discussion

Discussion The default value of this property is true. Changing the value to false causes the action to appear dimmed in the resulting alert. When an action is disabled, taps on the corresponding button have no effect.

## See Also

### Getting the action’s attributes

- [title](uikit/uialertaction/title.md)
- [style](uikit/uialertaction/style-swift.property.md)
