---
title: style
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uialertaction/style-swift.property
---

# style

The style that applies to the action’s button.

## Declaration

```swift
var style: UIAlertAction.Style { get }
```

## Discussion

Discussion This property is set to the value you specified in the init(title:style:handler:) method.

## See Also

### Getting the action’s attributes

- [title](uikit/uialertaction/title.md)
- [isEnabled](uikit/uialertaction/isenabled.md)
