1

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

ManOx
  • 1,935
  • 5
  • 23
  • 37

2 Answers2

3

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.

Stefan
  • 1,347
  • 2
  • 16
  • 38
0

yes, it is possible go here to find out:

Class Refrence

look for the add atachment method.

user1320885
  • 135
  • 1
  • 15