Answers for "swift how to change naviation bar title"

2

swift change navigation bar title

// Place this in your didFinishLaunchingWithOptions method in the AppDelegate
let attrs = [
  NSAttributedString.Key.foregroundColor: UIColor.white, // changes color
  NSAttributedString.Key.font: UIFont(name: "Futura-Bold", size: 17)! // changes font
]

UINavigationBar.appearance().titleTextAttributes = attrs
Posted by: Guest on June-16-2020

Code answers related to "swift how to change naviation bar title"

Code answers related to "Swift"

Browse Popular Code Answers by Language