---
title: dataDetectorTypes
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwebviewconfiguration/datadetectortypes
---

# dataDetectorTypes

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

## Declaration

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

## Discussion

Discussion Data detectors add interactivity to web content by creating links for specially formatted text. For example, the WKDataDetectorTypeLink 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 WKDataDetectorTypeNone. For other possible values, see WKDataDetectorTypes.

## See Also

### Identifying data types

- [WKDataDetectorTypes](webkit/wkdatadetectortypes.md)
