Pergunta

I know, it sounds pretty stupid, but changing status bar color in IB, doesn't change anything. It always stays gray. I can change in code to black(works), but still I have this gray bar during first start. XCode is 4.2 beta, can't download new one now.

Any thoughts?

Foi útil?

Solução

You need to set the style of status bar in your Info.plist file. So that it is displayed correctly at the start.

Use "Status bar style" as key or "UIStatusBarStyle" if you are using raw values. Then set it to the desired style.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top