How do I make the status bar match the color of the UINavigationBar in Swift?

I am trying to match the color of the status bar to the color of my UINavigationBar in Swift. I added a UINavigationBar to my view controller, but I cannot match the color of the status bar.

Should I be using UINavigationBar, or is there another convenient way?

+3


source to share





All Articles