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 constitutes PSPDFKit’s older signatures functionality from before the introduction of Electronic Signatures. As such, using this class requires that your license includes the Annotations feature and was originally purchased in April 2021 or earlier. If you purchased your license after this time, then you should use SignatureCreationViewController from Electronic Signatures instead.

This older signatures functionality will continue to be maintained and supported. However, we recommend using Electronic Signatures for new PSPDFKit integrations. If you’re interested in upgrading, please see our migration guide: https://pspdfkit.com/guides/ios/migration-guides/migrating-to-electronic-signatures/

  • 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)