Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Mac Me Up

macrumors regular
Original poster
Jun 25, 2005
170
0
Australia
I've been digging through the apple documentation, but I can't seem to find how some apps change the colour of the status bar (with your signal strength, etc in it) to black? I'm guessing it's just a one line call somewhere?
 

Taum

macrumors member
Jul 28, 2008
56
0
You may also want to set UIStatusBarStyle = UIStatusBarStyleOpaqueBlack in your Info.plist, so that the Default.png shows a black status bar instead of the gray one before your application is loaded.
 

TripleJ

macrumors regular
Jul 30, 2008
128
0
This is a very similar question to the OP, but is there any way to change the navbar-style to black through the info.plist as well? Right now I am doing it through code, and while this works it creates a bit of a delay, where first the navbar is black and then after about a second, once the program loads properly turns black.

Thank you :)
 

Taum

macrumors member
Jul 28, 2008
56
0
How do you create the nav bar ? With a xib ? If so, then you can change it in IB I think.
 

saffy

macrumors newbie
Feb 4, 2009
1
0
Just to help anyone else who stumbles across this...

The correct item to add to the Info.plist is:

UIStatusBarStyle = UIStatusBarStyleBlackOpaque

(There's no code completion when editing Info.plist, so if it's not working check that you've got the spelling *exactly* right.)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.