Horje
swift change navigation bar color Code Example
swift change navigation bar color
// Navigation Bar:
navigationController?.navigationBar.barTintColor = UIColor.green

// Navigation Bar Text:
navigationController?.navigationBar.titleTextAttributes = [.foregroundColor: UIColor.orange]

// Tab Bar:
tabBarController?.tabBar.barTintColor = UIColor.brown

// Tab Bar Text:
tabBarController?.tabBar.tintColor = UIColor.yellow
swift navigation bar title color
// Place this in your didFinishLaunchingWithOptions method in the AppDelegate
let attrs = [
  NSAttributedString.Key.foregroundColor: UIColor.white
]

UINavigationBar.appearance().titleTextAttributes = attrs




1

Related
swift hide navigation bar Code Example swift hide navigation bar Code Example
swift append element to array Code Example swift append element to array Code Example
swift change status bar color Code Example swift change status bar color Code Example
swift do catch Code Example swift do catch Code Example
Split a String into an array in Swift Code Example Split a String into an array in Swift Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10