📌  相关文章
📜  快速导航栏标题颜色 - Swift 代码示例

📅  最后修改于: 2022-03-11 15:01:00.499000             🧑  作者: Mango

代码示例2
// Place this in your didFinishLaunchingWithOptions method in the AppDelegate
let attrs = [
  NSAttributedString.Key.foregroundColor: UIColor.white
]

UINavigationBar.appearance().titleTextAttributes = attrs