Shri
Shri

Reputation: 2139

How to unzip a zip file shared through iTunes from the Application Programmatically?

I need to unzip file synced through itunes in the documents directory programmatically. There are open source frameworks available like ZipArchive and ZipKit but I am not able to use them in the project. Is there a decent tutorial where I can see how to use these frameworks.

Upvotes: 0

Views: 448

Answers (2)

Mobile App Dev
Mobile App Dev

Reputation: 1814

you can use SSZipArchive.
It is so simple way to unzip file. please read Readme.markdown (usage).
Simple three lines and that's it.

Upvotes: 2

Suhail Patel
Suhail Patel

Reputation: 13694

For ZipKit, you need to use the Better Way of Installing the Framework and follow the Static Library section of the ZipKit Documentation because iOS doesn't allow you to use to embed the Frameworks directly. You need to include it as a Static Library.

Alternatively you could use something lightweight like iZip

Upvotes: 0

Related Questions