ManOx
ManOx

Reputation: 1965

Create .Zip file of Images

I'm wondering how I can create a .zip file with images in it. Is there any way to do this?

Upvotes: 1

Views: 1504

Answers (2)

Stefan
Stefan

Reputation: 1357

You can do that by calling addAttachmentData:mimeType:fileName: on the MFMailComposeViewController - if you already have the zip file.

If your question includes creating the zip file, unfortunately that is not possible with a few method calls in iOS. You would need to use a third-party library for this, e. g. objective-zip.

Upvotes: 3

user1320885
user1320885

Reputation: 135

yes, it is possible go here to find out:

Class Refrence

look for the add atachment method.

Upvotes: 0

Related Questions