Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is the Status Bar STILL showing during Default.png?

I'm pretty sure that I've taken all steps to correctly set my status bar to hidden. I did this in both the info.plist file (setting a UIStatusBarHidden to a boolean TRUE) as well as in the applicationDidFinishLaunching method in the Application Delegate using:

[[UIApplication sharedApplication] setStatusBarHidden:YES animated:NO];

And the status bar does hide -- only not quick enough. Despite the steps taken above, when the app is launched, the status bar is STILL being displayed for about a second during the displaying of the Default.png default image. This looks tacky, and I want to make sure the status bar does not get displayed at any time during the running of the app.

Many apps I've tried ARE hiding the status bar successfully (doesn't even show during the display of default.png) but I can't figure out how. Anyone deal with this issue before?

like image 945
RexOnRoids Avatar asked May 23 '09 03:05

RexOnRoids


3 Answers

Did you figure this out already? What I did to get it to work is edit the Info.plist file in TextMate rather than in Xcode. I added the following two lines:

<key>UIStatusBarHidden</key>
<true/>

I think the only thing different from the answers given above is that I used a text editor rather than Xcode. When you subsequently look at Info.plist in Xcode, you will see a check mark next to UIStatusBarHidden rather than a string. There is probably a way to do this directly in Xcode, but I don't know what it is.

like image 57
sam Avatar answered Oct 21 '22 11:10

sam


UIStatusBarHidden should be set to true.

like image 8
sroske Avatar answered Oct 21 '22 12:10

sroske


in the info.plist there's also a key called "Status bar is initially hidden" that needs to be checked on. It will hide the status bar while loading the default.png

like image 5
Francis Baptiste Avatar answered Oct 21 '22 11:10

Francis Baptiste