Structure

UIDataDetectorTypes

Defines the types of information that can be detected in text-based content.

Declaration

struct UIDataDetectorTypes

Topics

Constants

static var phoneNumber: UIDataDetectorTypes

Detect strings formatted as phone numbers.

static var link: UIDataDetectorTypes

Detect strings formatted as URLs.

static var address: UIDataDetectorTypes

Detect strings formatted as addresses.

static var calendarEvent: UIDataDetectorTypes

Detect strings formatted as calendar events.

static var shipmentTrackingNumber: UIDataDetectorTypes

Detect strings formatted as a tracking number from a package delivery company.

static var flightNumber: UIDataDetectorTypes

Detect strings formatted as a flight number from an airline.

static var lookupSuggestion: UIDataDetectorTypes

Detect strings formatted as information that the user might want to look up.

Relationships

Conforms To

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