Mail compose view controller is dismissed automatically when using custom title font in navigation bar via UIAppearance
Originator: | yang.meyer | ||
Number: | rdar://13422715 | Date Originated: | |
Status: | Duplicate | Resolved: | |
Product: | iPhone/iPod touch | Product Version: | iOS 6.0 |
Classification: | Serious Bug | Reproducible: | Sometimes |
[Closed as Duplicate of 12328070 (Open)] Summary: The MFMailComposeViewController is dismissed automatically (with MFMailComposeResultCancelled) when using a custom title font in the navigation bar via UIAppearance. Steps to Reproduce: 1. Set custom title font via UIAppearance: [[UINavigationBar appearance] setTitleTextAttributes:@{ UITextAttributeFont : [UIFont fontWithName:@"Rambla-Bold" size:17.0] }]; 2. Present the mail composer: [self presentViewController:mailComposeVC animated:YES completion:nil]; Expected Results: Mail composer is/stays visible, with the custom font used for the navigation bar title. Actual Results: After a short delay, the mail composer is dismissed automatically (MFMailComposeResultCancelled). Regression: n/a Notes: My current workaround is removing the custom font before presenting the mail composer, then restoring the custom font with a short delay, as per http://stackoverflow.com/questions/12624151/mfmailcomposeviewcontroller-throws-a-viewservicedidterminatewitherror-and-then-e
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!
composer
the mail composer is dismissed automatically.. HV9910
Hey Yang,
have you seen this http://openradar.appspot.com/radar?id=1913402 ?
Thanks Stephan, no I hadn’t. I don’t see the connection between the two, though.
I have provided Apple with the additional info that my bug only occurs on the device, and attached a sample project that lets them reproduce this bug.