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 (class, null_resettable) NSArray<PSPDFStampAnnotation *> *defaultStampAnnotations;

    Swift

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

    Declaration

    Objective-C

    @property (nonatomic, copy) 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 (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 (nonatomic) BOOL dateStampsEnabled;

    Swift

    var dateStampsEnabled: Bool { get set }