Answers for "change color dynamically with background swift"

3

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
Posted by: Guest on March-04-2020
2

give background color swiftui

Color.blue.edgesIgnoringSafeArea(.all)
Posted by: Guest on March-13-2020

Code answers related to "change color dynamically with background swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language