iPhone / iPad如同iBooks一样绘制pdf? [英] iPhone/iPad draw pdf like iBooks?

查看:100
本文介绍了iPhone / iPad如同iBooks一样绘制pdf?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道如何使用核心图形来绘制像iBooks中的pdf。我已经可以使用核心图形绘制pdf页面,但很好奇iBooks如何显示每个页面的低质量视图,因此它加载速度快,然后当您在页面上停留时间更长时,它会呈现完整的质量。这使得它能够打开pdf,而不必让用户像你在ipad上看到的大多数杂志应用程序一样等待。任何想法都会有所帮助!

Does anyone know how to use core graphics to draw a pdf like in iBooks. I can already draw a pdf page using core graphics but was curious how iBooks shows a lower quality view of each page so it loads fast and then when you stay on a page longer it renders it a full quality. This makes it able to open the pdf without having to make the user wait like most magazine apps you see on ipad. Any ideas would help!

推荐答案

Apple有一些ZoomingPDFViewer示例代码:

Apple have some "ZoomingPDFViewer" sample code:

http://developer.apple.com/library/ios/#samplecode/ZoomingPDFViewer/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010281

我怀疑这可能会给你一些好主意: - )

I suspect that might give you some good ideas :-)

这篇关于iPhone / iPad如同iBooks一样绘制pdf?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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