iphone Programming Glossary: imageasnsdata
MFMailComposeViewController image orientation http://stackoverflow.com/questions/20204495/mfmailcomposeviewcontroller-image-orientation mailVC MFMailComposeViewController new NSArray aAddr NSArray arrayWithObjects gAddr nil NSData imageAsNSData UIImagePNGRepresentation gImag mailVC setMailComposeDelegate self mailVC setToRecipients aAddr mailVC setSubject gSubj mailVC.. gImag mailVC setMailComposeDelegate self mailVC setToRecipients aAddr mailVC setSubject gSubj mailVC addAttachmentData imageAsNSData mimeType @ image png fileName @ myPhoto.png mailVC setMessageBody @ Blah blah isHTML NO self presentViewController mailVC.. mailVC MFMailComposeViewController new NSArray aAddr NSArray arrayWithObjects gAddr nil NSData imageAsNSData UIImageJPEGRepresentation gImag mailVC setMailComposeDelegate self mailVC setToRecipients aAddr mailVC setSubject gSubj..
|