在 iOS 中创建 PDF 注释 [英] Create PDF Annotations in iOS

查看:47
本文介绍了在 iOS 中创建 PDF 注释的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在开发支持注释的 pdf 查看器,我需要能够保存用户创建的新注释.我已经看过大量关于如何绘制文本/线条/图像的示例,但这只是扁平化的内容,我需要创建实际的注释对象

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

干杯!

经过几个月的工作,我们可以发布此版本的 v1.我们最终使用了一个开源的 c++ 库,并经历了巨大的痛苦才能让它为 iOS 编译.负责那件事的人已经不在公司工作了,所以我们不能公布我们是如何做到的

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

推荐答案

嗯,有几个付费/免费的源代码可用,包括 pspdfkit、fastpdfkit 等.找到以下链接:

Well, there are several paid/free source codes which are available which includes pspdfkit, fastpdfkit etc. Find the links below:

良好的维护、支持和功能,但非常昂贵:

http://pspdfkit.com/

看起来不错,但没有维护/支持:

http://fastpdfkit.com/

https://github.com/vfr/Reader/

其他 StackOverflow 线程:

为pdf添加注释

在 pdf 上添加注释

在 ios 中使用 Quartz 2d 进行注释(注释、评论)

博客:

http://codecanyon.net/item/html-pdf-viewer-ios-xcode-project/154673

http://www.binpress.com/app/pdftouch-sdk-for-ios/859

对于免费/开源应用程序,您可以查看

http://poppler.freedesktop.org/

这篇关于在 iOS 中创建 PDF 注释的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆