Create iOSCodeForAttachments

These are the methods necessary to add attachments to the MFMailComposeViewController object.
These have been copied from APPEmailComposer.m file included in source.