DataDetection · IOS API REFERENCE
DataDetector.Match
struct · iOS 26.0+ · SDK 27.1
struct Match
Members (3)
get · iOS 26.0+preferredHighlightStyle
TypeScriptget preferredHighlightStyle(): DataDetector_Match_HighlightStyle
Swift declarationlet preferredHighlightStyle: DataDetector.Match.HighlightStyle
When creating a highlight for a match, preferredHighlightStyle will suggest how to present it
get · iOS 26.0+range
TypeScriptget range(): (SDKHandle) | null
Swift declarationlet range: Range<String.Index>?
get · iOS 26.0+details
TypeScriptget details(): DataDetector_Match_SemanticDetails
Swift declarationlet 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 →