I’m wondering how I can create a .zip file with images in it. Is there any way to do this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can do that by calling
addAttachmentData:mimeType:fileName:on theMFMailComposeViewController– 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.