Email composure iOS 8
I'm trying to open email composure in iOS 8 from Xcode 6, but getting an error. The same code is working fine if I'm trying from Xcode 5. Later I downloaded a sample code from apple developer portal: https://developer.apple.com/library/content/samplecode/MessageComposer/Introduction/Intro.html But the result is same. Is there something, or some setting, I'm missing to optimise the code for Xcode 6 Here is the code: in my button action MFMailComposeViewController *picker = [[MFMailComposeViewController alloc] init]; picker.mailComposeDelegate = self; [picker setSubject:@"Hello from California!"