How to zip folders in iPhone SDK?

后端 未结 5 529
情话喂你
情话喂你 2020-12-09 06:45

In my Application,I am taking screenshots of image View and then I am saving those screen shots in document folder of the application.Now I want to Email all those images wi

5条回答
  •  不知归路
    2020-12-09 06:49

    Easy mode: add ZipArchive to your project then:

    NSString* zip = ...;
    NSString* dir = ...;
    [SSZipArchive createZipFileAtPath: zip withContentsOfDirectory: dir];
    

提交回复
热议问题