DataDetector.Match.HighlightStyle
enum · iOS 26.0+ · SDK 27.1
enum HighlightStyleWhen visually highlighting a match in some text, `HighlightStyle` will suggest how to style a highlight .hidden indicates the match should NOT be visually displayed to users. They might, however, be used to better interpret surrounding results .url indicates the match should look like a regular web link (i.e. a link using the .link color) .regular indicates the match should be highlighted in a non intrusive manner. For instance on iOS, these matches are typically displayed with an underline using a dimmed version of the original text color. As a suggestion for the dimmed color, when the original color is white (saturation is less than 0.02 and its brightness is above 0.98), a 0.46 alpha should be applied to the original color. Otherwise a 0.26 alpha should be used. .regular should be treated as the default.
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
No declarations were skipped in this snapshot.