PSPDFSignatureViewController


@interface PSPDFSignatureViewController
    : PSPDFBaseViewController <PSPDFStyleable>

The signature view controller allows to create ink signatures to add to a document.

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

  • Keeps the drawing area aspect ration regardless of the interface orientation. Setting this to NO might produce unexpected results if the view bounds change. Defaults to YES, except if the view is presented inside a form sheet on iPad.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL keepLandscapeAspectRatio;

    Swift

    var keepLandscapeAspectRatio: Bool { get set }
  • 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)