How do I change the color of my status bar in iOS?
You can control the status bar text color by override preferredStatusBarStyle property in a view controller and return the style you want. In this example, we set the status bar text color to white. Make sure you set "View controller-based status bar appearance" ( UIViewControllerBasedStatusBarAppearance ) key in Info.