MFMailComposeViewController not consistent with SLComposeViewController

Originator:rod.schmidt
Number:rdar://14324486 Date Originated:07/01/2013
Status:Open Resolved:
Product:iOS SDK Product Version:6.1
Classification:UI Usability Error Reproducible:Yes
 
Summary:
MFMailComposeViewController crashes when you try to present it and there are no mail accounts. Conversely, SLComposeViewController presents an alert telling the user they need to create an account when they try to Tweet or Post to Facebook and they don't have a Twitter or Facebook account setup.

Steps to Reproduce:
1) Delete your all your Email, Facebook, and Twitter accounts on the device. 
2) Present an MFMailComposeViewController. It causes a crash.
3) Present an SLComposeViewController for Twitter or Facebook. An alert is presented saying you need to setup an account. There's even a handy Settings button that takes you right to the Settings app.

Expected Results:
MFMailComposeViewController should behave like SLComposeViewController and present an alert.

Actual Results:
MFMailComposeViewController crashes and you have to do your own check and present your own alert.

Regression:

Notes:

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!