Alex Rivera | Logout

iPhone: Downloading zip and extracting in main bundle subdirectory at runtime

Asked 2011-03-22T00:46:09.550
12

I want to extend my iPhone app that the app downloads a zip file into a sub directory then extracts it and then load images which were inside the zip.

Any ideas how to unzip in run-time and the access the images? Would be really happy for some idea.

Greetings,

Edit
Report

1 Answer

3

If you add ZipArchive to your project, remember to also add the framework. The correct framework is libz.dylib. Latest version (Xcode 4.2) is 1.2.5.

(Add framework to the section with libraries in the build phases tab of your target.)

answered 2012-03-06T08:31:01.383

Your Answer