If you have an application that needs the full screen of the iPhone, sometimes it is handy to get rid of the status bar at the top of the screen. You’ll see this happen a lot with games, where the developer does not want the user to see the status bar.
This is an easy code change to make and takes a few seconds.
Browse to the project folder, using Finder (not Xcode!) and open the ‘Info.plist‘ file in a standard text editor.
You’ll notice that it looks like an xml file.
At the bottom of the file, but before this bit
</dict>
</plist>
add this
<key>UIStatusBarHidden</key>
<true/>
so the bottom of the file will now look like this;
<key>UIStatusBarHidden</key>
<true/>
</dict>
</plist>
It’s important that you get the spelling and the case of the words correct, as it is case sensitive.
Now, when you launch your application the status bar is hidden!!
Happy Coding.
Graham