I have a global background image (mostly orange) that is configured for all navigation panels inside AppDelegate:
[[UINavigationBar appearance] setBackgroundImage:[UIImage imageNamed:@"order-navbar"] forBarMetrics:UIBarMetricsDefault];
This works for all kinds except one: I have an MFMailComposeViewController whose background in the navigation bar remains gray-white, regardless of what I do:
let mailController = MFMailComposeViewController() mailController.navigationBar.tintColor = UIColor.whiteColor()
However, sometimes the mail controller first appears with an orange bar, and then again changes its color to white-gray.
On iOS 8, everything works. Is this an iOS 9 bug?
source share