PTDigitalSignatureToolDelegate
@protocol PTDigitalSignatureToolDelegate <NSObject>
A delegate used to respond to events from a PTDigitalSignatureTool
instance.
-
Notifies the delegate to show the signature list on iPad.
Declaration
Objective-C
- (void)digitalSignatureToolShowSignatureListOnPad: (nonnull PTDigitalSignatureTool *)signatureTool;
Swift
optional func digitalSignatureToolShowSignatureList(onPad signatureTool: PTDigitalSignatureTool)
-
Notifies the delegate when the user selects a signature.
Declaration
Objective-C
- (void)digitalSignatureToolDidSelectSignature: (nonnull PTDigitalSignatureTool *)signatureTool image:(nonnull UIImage *)image;
Swift
optional func digitalSignatureToolDidSelectSignature(_ signatureTool: PTDigitalSignatureTool, image: UIImage)
-
Notifies the delegate when the user adds or deletes a signature.
Declaration
Objective-C
- (void)digitalSignatureToolNumberOfSignaturesDidChange: (nonnull PTDigitalSignatureTool *)signatureTool numberOfSignatures:(int)numberOfSignatures;
Swift
optional func digitalSignatureToolNumber(ofSignaturesDidChange signatureTool: PTDigitalSignatureTool, numberOfSignatures: Int32)