PSPDFSignatureViewController

Objective-C


@interface PSPDFSignatureViewController
    : PSPDFBaseViewController <PSPDFStyleable, PSPDFOverridable>

Swift

class SignatureViewController : PDFBaseViewController, Styleable, Overridable

The signature view controller can be used to create ink signatures to add to a document.

These signatures optionally can be used to create a digital signature with a certificate.

This class requires that your license includes the Annotations feature and was originally purchased before the introduction of the Electronic Signatures component in March 2021. If you did not purchase your license before this time, then you should use SignatureCreationViewController from Electronic Signatures instead.

  • Called when the cancel button has been tapped.

    Declaration

    Objective-C

    - (void)cancel:(nullable id)sender;

    Swift

    func cancel(_ sender: Any?)
  • Called when the done button has been tapped.

    Declaration

    Objective-C

    - (void)done:(nullable id)sender;

    Swift

    func done(_ sender: Any?)
  • Called when the clear button has been tapped.

    Declaration

    Objective-C

    - (void)clear:(nullable id)sender;

    Swift

    func clear(_ sender: Any?)
  • Called when a color has been tapped.

    Declaration

    Objective-C

    - (void)color:(nonnull PSPDFColorButton *)sender;

    Swift

    func color(_ sender: PSPDFColorButton)