Here is AppDelegate code, I'm running swift 5. Have you got any ideas on why my navigation bar title color is still black ?
var navigationBarAppearance = UINavigationBar.appearance()
var tabBarAppearance = UITabBar.appearance()
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
FirebaseApp.configure()
navigationBarAppearance.tintColor = UIColor.white
tabBarAppearance.tintColor = UIColor.white
navigationBarAppearance.titleTextAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
print(Realm.Configuration.defaultConfiguration.fileURL!)
do{
let _ = try Realm()
}catch{
print("Error initializing new realm, \(error)")
}
return true
}