I'm trying to match the colour of the status bar with the colour of my UINavigationBar in Swift. I've added a UINavigationBar to my view controller, but I'm unable to match the status bar's colour.
Would I have to use a UINavigationBar, or is there another more convenient way?