문제

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