MFMailComposeViewController appearance bug

Originator:an00na
Number:rdar://16649994 Date Originated:17-Apr-2014
Status:Open Resolved:
Product:iOS SDK Product Version:7.1
Classification:Other Bug Reproducible:Always
 
Summary:
1. MFMailComposeViewController.navigationBar does not follow [UINavigationBar appearance] customization. It does not inherit [UINavigationBar appearance]'s tintColor. It neither inherits window.tintColor.
2. MFMailComposeViewController changes UIApplication.statusBarStyle to UIStatusBarStyleDefault. With black navigation bar the status bar is invisible.

Steps to Reproduce:
1. Run sample app(http://cl.ly/3s2k411m470r).
2. Tap + button to present MFMailComposeViewController.
3. Notice the color of status bar and Cancel button.

Comments

Workaround

set the UIApplication.statusBarStyle (again) in the completion handler of -presentViewController:animated:completion:


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!