PSPDFSignatureSelectorViewController


@interface PSPDFSignatureSelectorViewController
    : PSPDFStatefulTableViewController <PSPDFStyleable>

Shows a list of signatures from the set signatureStore.

Note

Will show up in landscape via preferredInterfaceOrientationForPresentation.
  • Signature store with signatures that are being displayed.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable) id<PSPDFSignatureStore>
        signatureStore;
  • 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 (readwrite, nonatomic)
        id<PSPDFSignatureSelectorViewControllerDelegate> _Nullable delegate;

    Swift

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

    Note

    The toolbar will be set up in viewWillAppear:.

    Declaration

    Objective-C

    @property (readonly, nonatomic) 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 (readonly, nonatomic) UIBarButtonItem *_Nonnull doneButtonItem;

    Swift

    var doneButtonItem: UIBarButtonItem { get }
  • 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?)