PTDigSigViewControllerDelegate
@protocol PTDigSigViewControllerDelegate <NSObject>
The methods declared by the PTDigSigViewControllerDelegate protocol allow the adopting delegate
to respond to message from the PTDigSigViewController
class.
-
Informs the delegate to save the specified path appearance for the signature form field.
Declaration
Objective-C
- (void)digSigViewController: (nonnull PTDigSigViewController *)digSigViewController saveAppearanceWithPath:(nonnull NSMutableArray *)points fromCanvasSize:(CGSize)canvasSize;
Swift
func digSigViewController(_ digSigViewController: PTDigSigViewController, saveAppearanceWithPath points: NSMutableArray, fromCanvasSize canvasSize: CGSize)
-
Informs the delegate to save the specified image appearance for the signature form field.
Declaration
Objective-C
- (void)digSigViewController: (nonnull PTDigSigViewController *)digSigViewController saveAppearanceWithUIImage:(nonnull UIImage *)image;
Swift
func digSigViewController(_ digSigViewController: PTDigSigViewController, saveAppearanceWith image: UIImage)
-
Informs the delegate that the signature view controller should be closed.
Declaration
Objective-C
- (void)digSigViewControllerCloseSignatureDialog: (nonnull PTDigSigViewController *)digSigViewController;
Swift
func digSigViewControllerCloseSignatureDialog(_ digSigViewController: PTDigSigViewController)
-
Informs the delegate that the document should be digitally signed and saved.
Declaration
Objective-C
- (void)digSigViewControllerSignAndSave: (nonnull PTDigSigViewController *)digSigViewController;
Swift
func digSigViewControllerSignAndSave(_ digSigViewController: PTDigSigViewController)