One Logo Pool Ball
DataDetection · IOS API REFERENCE

DataDetector.Match

struct · iOS 26.0+ · SDK 27.1

struct Match

Members (3)

get · iOS 26.0+

preferredHighlightStyle

TypeScript
get preferredHighlightStyle(): DataDetector_Match_HighlightStyle
Swift declaration
let preferredHighlightStyle: DataDetector.Match.HighlightStyle

When creating a highlight for a match, preferredHighlightStyle will suggest how to present it

get · iOS 26.0+

range

TypeScript
get range(): (SDKHandle) | null
Swift declaration
let range: Range<String.Index>?
get · iOS 26.0+

details

TypeScript
get details(): DataDetector_Match_SemanticDetails
Swift declaration
let details: DataDetector.Match.SemanticDetails

This property contains the type and the semantic data found in of a match.

Skipped declarations

No declarations were skipped in this snapshot.

All DataDetection types →