I am setting my app's navigation bar font from application(_:didFinishLaunchingWithOptions:)
, using this code:
let navBarAppearance = UINavigationBar.appearance()
navBarAppearance.titleTextAttributes = [NSAttributedString.Key.foregroundColor: navTitleColor, NSAttributedString.Key.font: UIFont.systemFont(ofSize: 16, weight: .medium)]
This was working what I was using Xcode 11.3, but now that I have upgraded to Xcode 11.4, it no longer works for iOS 13 devices. I have also tried using the new appearance API let navBarAppearance = UINavigationBarAppearance()
, but I'm getting the same results. How can I get this to work again?