I can\'t get MFMailComposeViewController to open without throwing a fatal error in iOS 9 Simulator.
The same code (Objective C) works flawlessly in iOS 8.x and lower
You should use :
[self.window.rootViewController presentViewController:picker animated:YES completion:NULL];
presentModalViewController is DEPRECATED since ios6 is and has been replaced by presentViewController:animated:completion:
ie:
- (void)presentModalViewController:(UIViewController *)modalViewController animated:(BOOL)animated NS_DEPRECATED_IOS(2_0, 6_0);