PSPDFTextCheckingType

enum PSPDFTextCheckingType {}

Creates annotations based on the text content. See annotationsByDetectingLinkTypes:forPagesAtIndexes:options:progress:error:.

  • Don’t detect anything in text.

    Declaration

    Objective-C

    PSPDFTextCheckingTypeNone = 0
  • Detect links in text.

    Declaration

    Objective-C

    PSPDFTextCheckingTypeLink = 1 << 0

    Swift

    static var link: PSPDFTextCheckingType { get }
  • Detect phone numbers in text.

    Declaration

    Objective-C

    PSPDFTextCheckingTypePhoneNumber = 1 << 1

    Swift

    static var phoneNumber: PSPDFTextCheckingType { get }
  • Detect all available types in text.

    Declaration

    Objective-C

    PSPDFTextCheckingTypeAll = (9223372036854775807L * 2UL + 1UL)

    Swift

    static var all: PSPDFTextCheckingType { get }