---
title: default
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsattributedstring/texthighlightstyle/default
---

# default

The default highlight style to apply to text.

## Declaration

```swift
static let `default`: NSAttributedString.TextHighlightStyle
```

## Discussion

Discussion Use this constant as the value for the textHighlightStyle attribute. The system applies the default highlight color to your text. To specify a different highlight color, add the textHighlightColorScheme attribute to your text and set its value to the color you want.
