Instance Property

dataDetectorTypes

The type of data detection desired.

Declaration

@property(nonatomic) WKDataDetectorTypes dataDetectorTypes;

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 WKDataDetectorTypeNone. For other possible values, see WKDataDetectorTypes.

See Also

Identifying Data Types

WKDataDetectorTypes

The type of data detected.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software