PTDigitalSignatureTool
@interface PTDigitalSignatureTool
: PTTool <PTDigSigViewControllerDelegate,
PTFloatingSigViewControllerDelegate, PTSignaturesManagerDelegate,
UIAdaptivePresentationControllerDelegate>
Handles creation of signatures and digitally signing documents.
-
The file name of the selected signature.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *selectedSignature;Swift
var selectedSignature: String? { get set } -
Whether the controller should create a new signature.
YESif there is no saved signature.Noif there is saved signature. The default value of this property isYES.Declaration
Objective-C
@property (nonatomic) BOOL shouldCreateNewSignature;Swift
var shouldCreateNewSignature: Bool { get set } -
The image of the selected signature of the controller.
Declaration
Objective-C
@property (nonatomic, strong, nullable) UIImage *pickedSignatureImage;Swift
var pickedSignatureImage: UIImage? { get set } -
An object that conforms to the
PTDigitalSignatureToolDelegateprotocol.Declaration
Objective-C
@property (nonatomic, weak, nullable) id delegate;Swift
weak var delegate: AnyObject? { get set } -
Show saved signatures.
Declaration
Objective-C
- (void)showSignatureList;Swift
func showSignatureList() -
Show saved signatures as a popover.
Declaration
Objective-C
- (void)showSignatureList:(nonnull UIView *)view onSourceView:(nonnull UIView *)sourceView;Swift
func showSignatureList(_ view: UIView, onSourceView sourceView: UIView)Parameters
viewThe view in which to anchor the popover.
sourceViewThe sourceView of the UIPopoverPresentationController.
-
Show saved signatures as a popover.
Declaration
Objective-C
- (void)showSignatureListForRect:(CGRect)sourceRect onSourceView:(nonnull UIView *)sourceView;Swift
func showSignatureList(for sourceRect: CGRect, onSourceView sourceView: UIView)Parameters
sourceRectThe frame of the view in which to anchor the popover.
sourceViewThe sourceView of the UIPopoverPresentationController.
PTDigitalSignatureTool Class Reference