In my application I want to attach multiple photos to an email in code, and also to post multiple photos to a web component. I had done this in Android by zipping them and posted them by adding the boundary in between.
On the iPhone, is there a direct way to attach multiple images to an email, or do I have to zip them all?
what you are thinking is very correct. you must do that to upload multiple files.
check
http://code.developwithus.com/iphone/upload-image-and-data-with-iphone-sdk/
for single upload
and use your idea for multiple upload.
you may doubt in line
NSString *postData = [Utility getHTTPBodyParamsFromDictionary:record];
but that is not more than,
param1=one¶m2=two, like that, which is insert in different file
let me know if you found any trouble