Mode

Swift

@objc(PSPDFSignatureCreationMode)
public enum Mode : Int
extension SignatureCreationViewController.Mode: Identifiable

The possible ways in which the user can input their signature.

PSPDF_EXPORT(PSPDFSignatureCreationMode)

  • The user draws their signature. For example using a finger or Apple Pencil.

    Declaration

    Swift

    case draw
  • The user selects an existing image of their signature from their photo library or files, or takes a photo of their signature written on a piece of paper.

    Declaration

    Swift

    case image
  • The user types their name and selects a style for their signature from a small number of fonts.

    Declaration

    Swift

    case type
  • id

    Declaration

    Swift

    public var id: SignatureCreationViewController.Mode { get }