PSPDFTextStampViewController


@interface PSPDFTextStampViewController : PSPDFStaticTableViewController

A view controller that lets users create or edit a custom text annotation stamp.

  • Initialize controller, optionally with a preexisting stamp, otherwise a new one will be created.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithStampAnnotation:
        (nullable PSPDFStampAnnotation *)stampAnnotation;

    Swift

    init(stampAnnotation: PSPDFStampAnnotation?)
  • Text Stamp controller delegate.

    Declaration

    Objective-C

    @property (readwrite, nonatomic)
        id<PSPDFTextStampViewControllerDelegate> _Nullable delegate;

    Swift

    @IBOutlet weak var delegate: PSPDFTextStampViewControllerDelegate? { get set }
  • The custom stamp annotation. If this controller isn’t initialized with a stamp, a new one will be created. Will be modified according to the user input.

    Declaration

    Objective-C

    @property (readonly, nonatomic) PSPDFStampAnnotation *_Nonnull stampAnnotation;

    Swift

    var stampAnnotation: PSPDFStampAnnotation { get }
  • The default stamp text if stamp is created. Defaults to nil.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *defaultStampText;

    Swift

    var defaultStampText: String? { get set }