1

I'm working on an iPad app and I need to be able to download and unzip a collection of images to display. Is this possible to do natively in iOS 7? iOS 6?

closed as off-topic by Mark, nohillside Jul 7 '14 at 6:06

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about software development are off-topic here, but can be asked on Stack Overflow." – Mark, nohillside
If this question can be reworded to fit the rules in the help center, please edit the question.

2

As far as I know, you need to use third-party tools like SSZipArchive or ZipArchive in order to work with zip files.

Using SSZipArchive, the line below would unzip a zip file:

[SSZipArchive unzipFileAtPath:path toDestination:destination];

Edit:

It turns out that in iOS 7, Apple added support to natively unzip files in iMessage and in the Mail app! Not sure if this is 100% related, but it might help. See this link for more info.

  • I should be more specific, I need a library to do this in my app. I guess I can go with ZipArchive... – easythrees Feb 18 '14 at 22:25
  • Oh, sorry I guess I misread the question. Why are you hesitant to use ZipArchive? – Chris Mukherjee Feb 18 '14 at 22:31
  • The app is for work, and one of our mandates is to use as few third party tools as possible. – easythrees Feb 18 '14 at 22:37
  • Just a heads up, the link to SSZipArchive you provided is not to the latest version - use this instead github.com/soffes/ssziparchive – ecnepsnai Jul 5 '14 at 3:32
  • @ecnepsnai You're right! Looked like I linked to a fork by accident. I've updated the answer with the correct link. Thanks! – Chris Mukherjee Jul 6 '14 at 21:44

Not the answer you're looking for? Browse other questions tagged .