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

# title

The title of the action’s button.

## Declaration

```swift
var title: String? { 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

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