PSPDFSignatureCell


@interface PSPDFSignatureCell : UITableViewCell

Cell that is used for displaying a signature. Displays a label and an image beneath each other.

  • Label with a green tint color that is shown on top of the cell. Will be hidden if no certificate/signer is selected.

    Declaration

    Objective-C

    @property (readonly, nonatomic) UIControl *_Nonnull certificateLabel;

    Swift

    var certificateLabel: NSControl { get }
  • Image view that will show its image centered. Used for the signature annotation image.

    Declaration

    Objective-C

    @property (readonly, nonatomic) UIImageView *_Nonnull signatureImageView;

    Swift

    var signatureImageView: NSImageView { get }
  • Updates the cell for a signer. Will show the signer’s display name in the certificate label if available. Will hide the certificate label when signer is nil.

    Note

    If you provide your own certificateLabel, executing this method won’t do anything. You need to override this method in that case.

    Declaration

    Objective-C

    - (void)updateCellForSigner:(nullable PSPDFSigner *)signer;

    Swift

    func update(for signer: PSPDFSigner?)