PSPDFDrawInputMethod

Objective-C

enum PSPDFDrawInputMethod {}

Swift

@frozen enum DrawInputMethod : UInt

The different kinds of input methods we support for creating a handwritten signature.

  • The signature input mode is not stored.

    Declaration

    Objective-C

    PSPDFDrawInputMethodNone

    Swift

    case none = 0
  • The signature was created using the finger.

    Declaration

    Objective-C

    PSPDFDrawInputMethodFinger

    Swift

    case finger = 1
  • The signature was created using an Apple Pencil.

    Declaration

    Objective-C

    PSPDFDrawInputMethodApplePencil

    Swift

    case applePencil = 2
  • The signature was created using a third-party stylus.

    Declaration

    Objective-C

    PSPDFDrawInputMethodThirdPartyStylus

    Swift

    case thirdPartyStylus = 3
  • The signature was created using a mouse. Although not used by PSPDFKit for now, other platforms might create biometric data with this input method.

    Declaration

    Objective-C

    PSPDFDrawInputMethodMouse

    Swift

    case mouse = 4