开发者

Display large PDF using iPhone SDK

开发者 https://www.devze.com 2022-12-29 05:05 出处:网络
I was wondering what is the best way 开发者_开发技巧to display a big PDF file (it\'s a map actually) usingiPhone SDK (the file is around 5MB), because it\'s really slow in a UIWebView.

I was wondering what is the best way 开发者_开发技巧to display a big PDF file (it's a map actually) using iPhone SDK (the file is around 5MB), because it's really slow in a UIWebView.

I want to be able to scroll through the PDF and zoom in/out.

Also do you think that it would be better to convert it to a PNG?

Thank in advance


You can display the PDF using quartz it is faster, but it requires more code to handle it. You can download the quartz example from Apple. The only drawback I have seen is that zooming isn't as smooth.

0

精彩评论

暂无评论...
验证码 换一张
取 消