What is the best way to view large PDFs on iOS?

2019-04-11 02:31发布

I am currently using QLPreviewController to view PDFs (250MB+) However it cannot deal with real large files. Either I get the info that not the whole file has been loaded or the whole app just dies. I also need to customize the view which is nit possible using QLPreviewController. What should I do? Use UIWebView instead? Or will I have to use CGContextDrawPDFPage? Using the latter, how will I get zooming implemented?

1条回答
乱世女痞
2楼-- · 2019-04-11 02:31

I would go with your suggestion of using a UIWebView. Doing so will automatically give you zoom support and the UIWebView should handle loading extremely large PDF's.


If you have decided to go with Quartz, this link looks very promising for zoom support.

查看更多
登录 后发表回答