I'm wondering how I can create a .zip file with images in it. Is there any way to do this?
Asked
Active
Viewed 1,470 times
2 Answers
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
-
Thank you for noticing! Apparently they moved it to github, I've changed the link accordingly. – Stefan Feb 03 '14 at 22:47
-
Thanks... I found this link yesterday and its working smoothly +1 though for you... :) – Fahim Parkar Feb 04 '14 at 06:05
0

user1320885
- 135
- 1
- 15
-
I know how to attach it, I want to know how to make a .zip file filled with images. – ManOx May 21 '12 at 00:30