MFMailComposeViewController always immediately dismisses when presented in the iOS simulator

Originator:jonsibley
Number:rdar://18078239 Date Originated:
Status:Open Resolved:
Product:iPhone 5s Simulator Product Version:iOS 8 beta 6
Classification: Reproducible:
 
Example project:
http://cl.ly/3y2f3G0X0H3l

Summary:
When presenting a MFMailComposeViewController, it slides up in a modal, then dismisses back downward after about a second. Even if you set some of its content (subject, body, to address), the content does not render.

The following is printed in the console:

2014-08-20 11:55:02.301 MailComposeDismissExample[27510:427000] 17545849:_UIScreenEdgePanRecognizerEdgeSettings.edgeRegionSize=13.000000
2014-08-20 11:55:06.866 MailComposeDismissExample[27510:427000] viewServiceDidTerminateWithError: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "The operation couldn’t be completed. (_UIViewServiceInterfaceErrorDomain error 3.)" UserInfo=0x7fad704a32b0 {Message=Service Connection Interrupted}

Steps to Reproduce:
1. Execute the following code:

MFMailComposeViewController *viewController = [[MFMailComposeViewController alloc] init];
viewController.mailComposeDelegate = self;
[self presentViewController:viewController animated:YES completion:nil];

2. Observe it automatically dismiss

Expected Results:
The MFMailComposeViewController and its content

Actual Results:
The MFMailComposeViewController dismisses almost immediately

Version:
iOS 8 beta 6

Notes:


Configuration:
iPhone 5s simulator

Attachments:
'MailComposeDismissExample.zip' was successfully uploaded.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!