How do I change the status bar color in iOS 15?
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.
How do I make my status bar black on my iPhone?
The status bar has a transparent background. There is no way of changing that.