<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WebPage/Configuration/dataDetectorTypes",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "s:6WebKit0A4PageC13ConfigurationV17dataDetectorTypesSo06WKDatafG0Vvp"
  },
  "title" : "dataDetectorTypes"
}
-->

# dataDetectorTypes

The types of data detectors to apply to the webpage’s content.

```
@MainActor var dataDetectorTypes: WKDataDetectorTypes
```

## Discussion

Data detectors add interactivity to web content by creating links for specially formatted text.
For example, the `.link` type causes the apple.com portion of the text “Visit apple.com” to
become a link to the Apple website.

The default value of this property is an empty OptionSet.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)