---
title: preferredHighlightStyle
framework: datadetection
role: symbol
role_heading: Instance Property
path: datadetection/datadetector/match/preferredhighlightstyle
---

# preferredHighlightStyle

A value that suggests a highlight style for a match.

## Declaration

```swift
let preferredHighlightStyle: DataDetector.Match.HighlightStyle
```

## See Also

### Match details

- [details](datadetection/datadetector/match/details.md)
- [range](datadetection/datadetector/match/range.md)
