1

In my AppDelegate.swift, I added this line of code:

UINavigationBar.appearance().titleTextAttributes = [NSForegroundColorAttributeName: UIColor(hue: 0/360, saturation: 0/100, brightness: 91/100, alpha: 1)]

So that my navigationBars all show text in the colour I need.

I have since created a new ContactUsViewController, and added a contact form, where I use the MFMailComposeViewController. Everything works great, except, when the Mail ViewController shows, it shows the NavigationBar text colour as it should, but against a white background, so it's really hard to read.

enter image description here

Is there a way to keep my code on the AppDelegate.swift file so the rest of my app works as I want it, but amend the text colour just on the MFMailComposeViewController ?

Thanks and let me know if you need to see any of my code :)

Nick89
  • 2,948
  • 10
  • 31
  • 50
  • tray to change the tintColor for your `MFMailComposeViewController` http://stackoverflow.com/questions/21547760/mfmailcomposeviewcontroller-bar-background-color-not-changing-in-ios7 – TonyMkenu Mar 02 '16 at 09:34

0 Answers0