PSPDFTextSelectionMode

enum PSPDFTextSelectionMode {}

Defines the text selection mode in PSPDFTextSelectionView. Requires PSPDFFeatureMaskTextSelection to be enabled and textSelectionEnabled set to YES.

  • Regular text selection mode is similar to Mobile Safari, using two different loupes. A word will be selected on touch up.

    Declaration

    Objective-C

    PSPDFTextSelectionModeRegular

    Swift

    case regular = 0
  • In simple selection mode, the selection behavior starts immediately on touch down. This is similar to iBooks and useful for applications where highlighting is a main feature.

    Declaration

    Objective-C

    PSPDFTextSelectionModeSimple

    Swift

    case simple = 1