質問

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

役に立ちましたか?

解決

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top