MFMailComposeViewController - iPad
问题 I've setup a MFMailComposeViewController and it works just fine on the iPhone, but on the iPad it crashes, saying: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Application tried to present a nil modal view controller on target... So why would this create a nil modal view? MFMailComposeViewController *message = [[MFMailComposeViewController alloc] init]; [message setMessageBody:@"My message here" isHTML:NO]; [message setToRecipients:[NSArray