nitesh meshram
nitesh meshram

Reputation: 281

How to unzip folder in IOS iPhone application

I am trying to unzip folder with in my iPhone application. Can any one help me on this. Thank you.

Upvotes: 10

Views: 22284

Answers (3)

Karthikkumar
Karthikkumar

Reputation: 221

Download zipArchieve.zip file which used to unzip files in iPhone.

It contains following things...

zipArchieve.zip click here to download

1.minizip folder
2.ZipArchive.h
3.ZipArchive.mm

Then just drag & drop ZipArchive folder in to xCode "Classes".

Then add framework libz.1.2.3.dylib.

That's it. My code get compile without any issue.

Upvotes: 5

Deeps
Deeps

Reputation: 4577

You need to use SSZipArchive in order to working with zip files.

Below line would unzip your zip file.

[SSZipArchive unzipFileAtPath:path toDestination:destination];

Upvotes: 24

iProgrammer
iProgrammer

Reputation: 3107

USE ZipArchive

Upvotes: 1

Related Questions