“Color de título de barra de navegación Swift” Código de respuesta

Color de barra de navegación de Swift Change

// 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
Mobile Star

Color de título de barra de navegación Swift

// Place this in your didFinishLaunchingWithOptions method in the AppDelegate
let attrs = [
  NSAttributedString.Key.foregroundColor: UIColor.white
]

UINavigationBar.appearance().titleTextAttributes = attrs
sej

Respuestas similares a “Color de título de barra de navegación Swift”

Preguntas similares a “Color de título de barra de navegación Swift”

Más respuestas relacionadas con “Color de título de barra de navegación Swift” en Swift

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código