For the navigation bar, you likely want navigationBar.barTintColor
for the background color.
How do I return the UIColor of an object in objective c?
-
23-06-2023 - |
Question
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
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow