I would like to on a press of a button to save an xml file into the documents directory and to add that file into an array where this array would later be sent to an email address. I think I have the saving figured out,but how do I put the files into an array? Also is it possible to somehow send these file to an email address? Could anyone give some advice on this?
Share
After doing this.. whenever the email with the attachements need to be sent, loop through the array and add it as a attachement.
Use this as a reference. http://iosdevelopertips.com/email/how-to-send-email-with-attachments-example-using-iphone-camera-to-email-a-photo.html
This is for a image, but should work well for any file with some modifications.