iphone Programming Glossary: mailvc
MFMailComposeViewController image orientation http://stackoverflow.com/questions/20204495/mfmailcomposeviewcontroller-image-orientation Here's how I am adding the image to the E Mail if MFMailComposeViewController canSendMail MFMailComposeViewController mailVC MFMailComposeViewController new NSArray aAddr NSArray arrayWithObjects gAddr nil NSData imageAsNSData UIImagePNGRepresentation.. new NSArray aAddr NSArray arrayWithObjects gAddr nil NSData imageAsNSData UIImagePNGRepresentation gImag mailVC setMailComposeDelegate self mailVC setToRecipients aAddr mailVC setSubject gSubj mailVC addAttachmentData imageAsNSData.. arrayWithObjects gAddr nil NSData imageAsNSData UIImagePNGRepresentation gImag mailVC setMailComposeDelegate self mailVC setToRecipients aAddr mailVC setSubject gSubj mailVC addAttachmentData imageAsNSData mimeType @ image png fileName @ myPhoto.png..
|