0

I know how to change text color to black or white, but is there some way to change text to green and BG to red for example?

Ookey
  • 652
  • 1
  • 7
  • 16

1 Answers1

2

The text of the status bar may only be black or white. You can read more in Apple's iOS Human Interface Guidelines.

The background color is based on what is behind the status bar. You could, for example, add a 20-pixel tall view with a solid color at the top of your view to color it. Here is a description of how to do that programmatically in Objective-C. You can use the same idea using Storyboard.

Community
  • 1
  • 1
Hélène Martin
  • 1,409
  • 2
  • 15
  • 42