---
title: dataDetectorTypes
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiwebview/datadetectortypes
---

# dataDetectorTypes

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

## Declaration

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

## Discussion

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 enumeration for the types of data available for automatic detection.

## See Also

### Setting web content properties

- [allowsLinkPreview](uikit/uiwebview/allowslinkpreview.md)
- [scalesPageToFit](uikit/uiwebview/scalespagetofit.md)
- [scrollView](uikit/uiwebview/scrollview.md)
- [suppressesIncrementalRendering](uikit/uiwebview/suppressesincrementalrendering.md)
- [keyboardDisplayRequiresUserAction](uikit/uiwebview/keyboarddisplayrequiresuseraction.md)
