How to unzip folder in IOS iPhone application

后端 未结 3 1309
抹茶落季
抹茶落季 2020-12-10 05:30

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

相关标签:
3条回答
  • 2020-12-10 05:53

    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.

    0 讨论(0)
  • 2020-12-10 06:05

    USE ZipArchive

    0 讨论(0)
  • 2020-12-10 06:11

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

    Below line would unzip your zip file.

    [SSZipArchive unzipFileAtPath:path toDestination:destination];
    
    0 讨论(0)
提交回复
热议问题