PSPDFSignatureCell

Objective-C


@interface PSPDFSignatureCell : UITableViewCell <PSPDFOverridable>

Swift

class SignatureCell : UITableViewCell, Overridable

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 (nonatomic, readonly) UIControl *_Nonnull certificateLabel;

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var signatureImageView: UIImageView { 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?)