Create PDF Annotations in iOS

孤街醉人 提交于 2019-12-17 17:29:30

问题


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


回答1:


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/




回答2:


Please read the issues before using this framework, this developer is no longer maintaining and it has some serious issues.


I created an open source framework for PDF annotation in IOS in GitHub. It supports both iPhone and iPad. Please check it out here.

来源:https://stackoverflow.com/questions/10888950/create-pdf-annotations-in-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!