I've been working on a pdf viewer with support for annotations and I need to be able to save new annotations that the user has created. I've seen tons of examples on how to draw text/lines/images, but that's only flattened content, I need to create actual annotation objects
I've found no documentation or examples about it, so if anyone could point me in the right direction I would be extremely grateful
Cheers!
Edit: After several months of work we could release the v1 of this. We ended up using an open source c++ library, and went through a huge pain to make it compile for iOS. The one in charge of that isn't working in the company any more so we can't publish how we managed to do it
Tap the Camera button or the Document button , then look for the photo or PDF that you want to attach and mark up. Tap the attachment, then tap the gray arrow icon . Tap the Markup button to add your markup. Tap the plus button to add a signature, text, and more.
To add an annotation with Apple Pencil, tap anywhere on the page, then tap the annotation tool in the toolbar at the bottom of the screen. To use your finger, or if you've turned on Select and Scroll, tap the More button , then tap Smart Annotation. Tap Pen to add marks or tap Highlighter to highlight text.
Well, there are several paid/free source codes which are available which includes pspdfkit, fastpdfkit etc. Find the links below:
Well maintaining, support, and features but very expensive:
http://pspdfkit.com/
Looks nice, but not maintaining/support:
http://fastpdfkit.com/
https://github.com/vfr/Reader/
Other StackOverflow Threads:
add annotation to pdf
Add an annotation on a pdf
Annotation (notes, comments) using Quartz 2d in ios
Blogs:
http://codecanyon.net/item/html-pdf-viewer-ios-xcode-project/154673
http://www.binpress.com/app/pdftouch-sdk-for-ios/859
For free/open-source app you can check at
http://poppler.freedesktop.org/
Please read the issues before using this framework, this developer is no longer maintaining and it has some serious issues.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With