How to add your handwritten signature to PDF signature field on iOS.

The PlugPDF SDK allows you to sign your PDF documents with your handwritten signature. To do so, please follow very simple steps.

  1.  Create a TouchTrackView which is for drawing signature.
  2.  Add the AnnotEventDelegate to detect the signature field is clicked.
  3.  Create the save and cancel button.

 

Adding handwritten Signature to PDF signature field.

  1.  Create a TouchTrackView which is for drawing signature.

To create a handwritten signature, we need a drawable UIView.

Please add the below code snippet in the TableViewController.m  file.      

 

 

  1. Add the AnnotEventDelegate to detect the signature field is clicked.

 

Now, you need set the AnnotEventDelegate to detect the signature field is clicked.

Just before setting the delegate, you need to add the below properties.

 

Add the below code in the openPlugPDFDocumentViewControllerWithPath: (NSString*)path

                                        password: (NSString*)password method;

 

And then, you can add the below call back method to make a handwritten signature.

 

  1. Create the save and cancel button.

 

Finally, you can save your handwritten signature on the signature field by adding the below code.

 

This blog post is based on the UsingPlugPDFDocumentViewController project in PlugPDF_iOS  samples folder. If you did not download PlugPDF_iOS yet, Please download the file at https://plugpdf.com/download/

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *