LinkDetectionType

public enum LinkDetectionType : Equatable, Hashable

Types of data that can be detected and automatically turned into links.

Corresponds to NSTextCheckingResult.CheckingType types.

  • Detect date strings. Tapping a date opens the calendar to that date.

    Declaration

    Swift

    case date
  • Detect addresses. Tapping the address opens Maps with that address.

    Declaration

    Swift

    case address
  • Detect URLs. Tapping the link opens the URL.

    Declaration

    Swift

    case link
  • Detect phone numbers. Tapping the phone number prompts the user to call it.

    Declaration

    Swift

    case phoneNumber