Removing the status bar on launch

Monkey Targets Forums/iOS/Removing the status bar on launch

benmc(Posted 2011) [#1]
I've noticed that when a game loads initially on iPhone, the status bar at the top, with the time, etc, shows during initial load, then goes away for the rest of the loading time.

Is it possible to have that bar disappear immediately upon application launch like most games in the App Store do?


BigAnd(Posted 2011) [#2]
If you edit the .plist file in Xcode and add:
UIStatusBarHidden
And make sure it is ticked, it should hide the bar from the very start.

(Sorry, don't know the exact name for the .plist file as I am at work but I think there should only be one in the monkey project.)


benmc(Posted 2011) [#3]
That's perfect, and worked.

I also found that after adding this, if you are in the latest ver of XCode, the preference shows as "Status bar is initially hidden"