PSPDFSignatureSelectorViewController

Objective-C


@interface PSPDFSignatureSelectorViewController
    : PSPDFStatefulTableViewController <PSPDFStyleable, PSPDFOverridable>

Swift

class SignatureSelectorViewController : StatefulTableViewController, Styleable, Overridable

Shows a list of signatures from the set signatureStore.

  • Signature store with signatures that are being displayed.

    Declaration

    Objective-C

    @property (nonatomic, nullable) id<PSPDFSignatureStore> signatureStore;

    Swift

    var signatureStore: SignatureStore? { get set }
  • Signature selector delegate.

    Note

    The delegate is responsible for handling presenting the UI when creating a new signature, handling insertion of a selected signature, and dismissing the signature selector in these cases. When presenting via built-in UI, the delegate will be set to an internal PSPDFKit object which manages this flow. If you are setting a custom delegate you need to do this yourself.

    Declaration

    Objective-C

    @property (nonatomic, weak) id<PSPDFSignatureSelectorViewControllerDelegate> _Nullable delegate;

    Swift

    @IBOutlet weak var delegate: SignatureSelectorViewControllerDelegate? { get set }
  • Button that will allow adding a new signature.

    Note

    The toolbar will be set up in viewWillAppear:.

    Declaration

    Objective-C

    @property (nonatomic, readonly) UIBarButtonItem *_Nonnull addSignatureButtonItem;

    Swift

    var addSignatureButtonItem: UIBarButtonItem { get }
  • A button that will dismiss the view controller, shown in the navigation bar except when in a popover.

    Declaration

    Objective-C

    @property (nonatomic, readonly) UIBarButtonItem *_Nonnull doneButtonItem;

    Swift

    var doneButtonItem: UIBarButtonItem { get }
  • Undocumented

    Declaration

    Objective-C

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

    Swift

    func doneAction(_ sender: Any?)
  • Undocumented

    Declaration

    Objective-C

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

    Swift

    func addSignatureAction(_ sender: Any?)