PDFKit framework available on the iPhone OS?

和自甴很熟 提交于 2019-11-28 08:47:14

问题


I'm curious to know whether the PDFKit framework is available for use within the iPhone OS, in order to build a PDF reader a bit more sophisticated than the one available by simply opening PDF documents with UIWebView.

Just wondering if this is an option or not.


回答1:


The PDFKit is not available on iPhone at this time. Certainly the functionality is there, but Apple has not opened it up in an available framework. You should file a bug on this if you'd like to see it in the future.

If you want more control over PDF, there are many ways to manipulate PDF content using Quartz graphics.




回答2:


Grab the official sample code called QuartzDemo which has an example on how to manipulate a PDF file using Quartz graphics. The output seems faster than the UIWebView.



来源:https://stackoverflow.com/questions/289186/pdfkit-framework-available-on-the-iphone-os

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