Adding PDF Annotations on iOS with Objective-C

iOS PDF annotation tools allow you to modify PDF documents in order to:

  • Add text notes and comments
  • Highlight or underline texts
  • Add HTML hyperlinks
  • Draw geometrical forms such as rectangles, lines, arrows, squares, circles, etc.
  • Manage AcroForms

And much more!

Adding PDF Annotations on iOS with Objective-C

The above can also be done programatically. Here are a few examples illustrating how to make annotations in PDF files with the PlugPDF SDK framework for iOS.

As you see, it is a straightforward process that can be implemented in Objective-C as follows:

  1. Initialize the annotation
  2. Set the annotation
  3. Save the document

Initialize the annotation:

Set the annotation:

Save the document:

Finally, attached below are four annotations for you to see some more examples into action.

Underline text:

Figure 1. Underline text

Figure 1. Underline text

Highlight text:

Figure 2. Highlight text

Figure 2. Highlight text

Ink annotation:

Figure 3. Ink annotation

Figure 3. Ink annotation

Circle annotation:

Circle annotation

Figure 4. Drawing a circle

We hope that these code snippets will be helpful to you. Remember that you can start adding PDF annotations on your iOS devices from today for free! Indie developers can download a Free License Key; otherwise download a Trial license key for evaluation purposes or purchase a Retail license key.

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 *