How to get a black status bar on an iPhone app?

Jackelope11 picture Jackelope11 · Jul 22, 2011 · Viewed 14.6k times · Source

I want to use a black status bar for my iPhone app. I have selected black status bar on all of my .xibs but I still can't get it to be black. Is this an issue that anyone else has seen or knows how to remedy?

Answer

EmptyStack picture EmptyStack · Jul 22, 2011
  1. Open the "info.plist" file .
  2. Add a new row.
  3. Select "Status bar style" as the key.
  4. Select "Opaque black style" as the value.

EDIT: The comment by @codrut below to choose the value:
If you go far to the right, there's a button that brings you a drop down with the possible options.