Does PDFNet automatically handle ZIP files?

,

Q:

Does PDFNet unzip and show the list of files in the viewer?

A:

PDFNet does not automatically handle zip archives, since the handling of zip archive can vary based on your requirements. (For example, it’s unclear what PDFNet’s behaviour would be if the zip archive contained anything besides a single PDF document.) So, to keep the library as flexible as possible, PDFNet enables you to handle zip archives however you’d like.

If you’d like to unzip the archive, you should use the standard APIs for doing so, such as using SSZipArchive: http://stackoverflow.com/questions/6786835/how-to-unzip-folder-in-ios-iphone-application

Note that if you’re asking about PDF compression, that is usually applied within the PDF document itself. The images and vector content can be compressed using a variety of schemes. (If you’d like to learn more about PDF internals,https://www.pdftron.com/pdfnet/intro.html may be a good place to start.)