I have developed a PDF Viewer by CGPDF*** methods.
It’s annoyed with waiting a large PDF downloading, thus using a streaming PDF should be a good idea.
Is it possible to implement “Linearized PDF”(Fast Web View) by Quartz 2D in iOS?
I can’t find any example code or documents. Any suggestions?
I’m the author of PSPDFKit (a commercial iOS PDF SDK), and believe me, I also spent quite some time researching this topic. I don’t think there’s a way unless you use some 3rd party rendering framework like MuPDF. (But they are really expensive)
CGPDFDocument as it is now (iOS6) expects the trailer at the bottom and will fail on incomplete documents.