PSPDFStampViewController

Allows adding signatures or drawings as ink annotations.

  • The default available set of stamp annotations. Thread safe. Setting nil will restore the default set of stamp annotations.

    Declaration

    Objective-C

    @property (assign, readwrite, atomic, null_resettable, class)
        NSArray<PSPDFStampAnnotation *> *defaultStampAnnotations;

    Swift

    class var defaultStampAnnotations: [PSPDFStampAnnotation]! { get set }
  • Available stamp types. Set before showing controller.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic)
        NSArray<PSPDFStampAnnotation *> *_Nonnull stamps;

    Swift

    var stamps: [PSPDFStampAnnotation] { get set }
  • Adds a button that forwards to an interface (PSPDFTextStampViewController) where custom stamps can be created. Defaults to YES.

    Warning

    Changing this will reset the stamps array.

    Declaration

    Objective-C

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

    Swift

    var customStampEnabled: Bool { get set }
  • Adds date stamps. They are recreated every time the PSPDFStampViewController is created to present the current date and thus not a part of the defaultStampAnnotations array. Defaults to YES.

    Warning

    Changing this will reset the stamps array.

    Declaration

    Objective-C

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

    Swift

    var dateStampsEnabled: Bool { get set }