Answers for "how to make the navagation bar title color swiftui"

1

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
Posted by: Guest on June-16-2020
0

navigation title bar color swftui

init() {
            let navBarAppearance = UINavigationBar.appearance()
            navBarAppearance.largeTitleTextAttributes = [.foregroundColor: UIColor.white]
            navBarAppearance.titleTextAttributes = [.foregroundColor: UIColor.white]
          }
Posted by: Guest on October-29-2020

Code answers related to "how to make the navagation bar title color swiftui"

Code answers related to "Swift"

Browse Popular Code Answers by Language