---
title: textMarkupAttributes
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avtextstylerule/textmarkupattributes
---

# textMarkupAttributes

A dictionary of text style attributes to apply to the text.

## Declaration

```swift
var textMarkupAttributes: [String : Any] { get }
```

## Discussion

Discussion The supported keys for this dictionary are defined in CMTextMarkup.h.

## See Also

### Accessing the style attributes

- [textSelector](avfoundation/avtextstylerule/textselector.md)
