开发者

Display large PDF using iPhone SDK

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜