How to create a .zip file from a document directory?

I would like to create a zip file from a document directory.

I would also like to send it as an email attachment.

+6
source share
3 answers

ZipArchive is an Objective-C class for compressing or decompressing zip files, which is based on the open source MiniZip code.

It can be used to develop iPhone and cocoa applications on Mac OSX.

see this: http://code.google.com/p/ziparchive/downloads/list

+3
source

SSZipArchive, in active development on GitHub, was developed from ZipArchive:

https://github.com/soffes/ssziparchive

+6
source

Zip's target does a great job. Just check the project and run it to demonstrate:

https://github.com/flyingdolphinstudio/Objective-Zip

Works great with Xcode 5.1 and iOS 7.1

0
source

Source: https://habr.com/ru/post/895863/


All Articles