<!--
{
  "availability" : [
    "iOS: 3.0.0 - 12.0.0",
    "iPadOS: 3.0.0 - 12.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIWebView/dataDetectorTypes",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIWebView(py)dataDetectorTypes"
  },
  "title" : "dataDetectorTypes"
}
-->

# dataDetectorTypes

The types of data converted to clickable URLs in the web view’s content.

```
var dataDetectorTypes: UIDataDetectorTypes { get set }
```

## Discussion

Use this property to specify the types of data (phone numbers, HTTP links, email address, and so on) that should be automatically converted to clickable URLs in the web view. When clicked, the web view opens the app responsible for handling the URL type and passes it the URL.

See the [`UIDataDetectorTypes`](/documentation/UIKit/UIDataDetectorTypes) enumeration for the types of data available for automatic detection.

---

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)