How can I load an existing PDF

i asked this previously but I think people got the wrong idea: I'm not trying to generate a PDF from scratch; I'm trying to load and draw onto the screen using Quartz 2d an existing PDF file : any guidance / examples would be very much appreciated

This was my previous post : How to open and View PDF using Quartz 2d


这是一个很好的教程,如何使用CoreGraphics呈现PDF


https://www.cocoacontrols.com/controls/pdf-reader-core

Use this control. It does a lot of the heavy lifting for you.


If you're happy with rendering the PDF into an UIImage and displaying that (a good solution if you don't provide zooming functionality, or if you are happy to constrain zooming to a limited extent using the UIImage inside a UIScrollView), then this project is very good and does disk caching for improved performance:

https://github.com/mindbrix/UIImage-PDF

链接地址: http://www.djcxy.com/p/65448.html

上一篇: 如何在PDF文档上添加文本?

下一篇: 我如何加载现有的PDF