---
title: currentAttributedTitle
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uibutton/currentattributedtitle
---

# currentAttributedTitle

The current styled title that is displayed on the button.

## Declaration

```swift
var currentAttributedTitle: NSAttributedString? { get }
```

## Discussion

Discussion The value for this property reflects the title associated with the control’s current state. For states that do not have a custom title string associated with them, this method returns the attributed title that is currently displayed, which is typically the one associated with the normal state.

## See Also

### Getting the current state

- [buttonType](uikit/uibutton/buttontype-swift.property.md)
- [currentTitle](uikit/uibutton/currenttitle.md)
- [currentTitleColor](uikit/uibutton/currenttitlecolor.md)
- [currentTitleShadowColor](uikit/uibutton/currenttitleshadowcolor.md)
- [currentImage](uikit/uibutton/currentimage.md)
- [currentBackgroundImage](uikit/uibutton/currentbackgroundimage.md)
- [currentPreferredSymbolConfiguration](uikit/uibutton/currentpreferredsymbolconfiguration.md)
- [imageView](uikit/uibutton/imageview.md)
- [subtitleLabel](uikit/uibutton/subtitlelabel.md)
