문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top