Pregunta

I'm using XCTest and want to test the navBar of a tableView to see if it is set to a specific colour.

How do I reference the colour of the navBar?

Kind regards

¿Fue útil?

Solución

For the navigation bar, you likely want navigationBar.barTintColor for the background color.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top