📅  最后修改于: 2022-03-11 15:01:02.759000             🧑  作者: Mango
// Place this in your didFinishLaunchingWithOptions method in the AppDelegate
let attrs = [
NSAttributedString.Key.foregroundColor: UIColor.white
]
UINavigationBar.appearance().titleTextAttributes = attrs