Answers for "swiftui navigaton title color"

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 "swiftui navigaton title color"

Code answers related to "Swift"

Browse Popular Code Answers by Language