เปลี่ยนสีข้อความ Navigation Bar ทำได้ใน AppDelegate
ขั้นตอน
- Embed View Controller ใน Navigation Controller ตั้ง Navigation Item Title

- ใน AppDelegate.swift
didFinishLaunchingWithOptions:func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
let textColor = [NSAttributedString.Key.foregroundColor: UIColor.green]
UINavigationBar.appearance().titleTextAttributes = textColor
return true
} - รันแอป Title จะเป็นสีเขียว
