Search code examples
iosobjective-czipunzip

Unzip file while reading it on iOS


I am looking for a way to unzip a file while reading it.

Reason I need to do this is I need to unzip large files (over 1 gig) and other unzip libraries just load the whole file into memory which causes a crash.

Is there a way to do this while reading the .zip file?


Solution

  • ZipArchive provides this feature and worked for us to keep the memory footprint very low.