Instance Property

dataDetectorTypes

The type of data detection desired.

Declaration

var dataDetectorTypes: WKDataDetectorTypes { get set }

Discussion

Specifying a dataDetectoryTypes value adds interactivity to web content that matches the value. For example, Safari adds a link to “apple.com” in the text “Visit apple.com” if the dataDetectorTypes property is set to WKDataDetectorTypeLink.

The default value is none. For other possible values, see WKDataDetectorTypes.