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.
You need to use SSZipArchive in order to working with zip files.
Below line would unzip your zip file.
[SSZipArchive unzipFileAtPath:path toDestination:destination];
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.
USE ZipArchive
精彩评论