The type of data detected.
- iOS 10.0+
- Mac Catalyst 13.0+
To indicate that no data detection is to be performed, use an empty set of data detector types, indicated by the empty array literal,
. For example,
let myDataDetector: WKDataDetectorTypes = .
static var all: WKDataDetectorTypes
All of the above data types are turned into links when detected. Selecting this value will automatically include any new detection type that is added to this constant.