Game Development Community

[resolved] $pref::iPhone::StatusBarHidden = true; not working on Simulator

by Terence Tan · in iTorque 2D · 07/28/2009 (8:22 pm) · 7 replies

Recompiled all my scripts and it doesn't seem to be working on the simulator anymore.

I am using the latest SDK but am working against a OS2.0 target.

The status bar IS the bar at the top showing the battery level, time and carrier signal strength right?

#1
07/28/2009 (8:49 pm)
Yes - thats the status bar.

I'm not familiar with iTGB, but in xcode, you can hide the status bar by adding the "UIStatusBarHidden" key to your info.plist (and checking it).
#2
07/28/2009 (10:24 pm)
in iTGB its done through the iphone preferences
#3
08/01/2009 (2:34 pm)
Yes, but he said the pref wasn't working for him.
#4
08/09/2009 (1:29 am)
Solved.

Option in editor under preferences. It must override everything.
#5
10/29/2009 (6:17 am)
Also check common/commonConfig.xml..for some reason it will get rest often and you will have reset it to 1
#6
10/29/2009 (6:35 am)
The editor changes the commonConfig.xml , you are not meant to change the file manually i dont think.
#7
10/29/2009 (6:40 am)
IMHO...it should be taken out of the editor, and made completely managed in script..

It overrides the $pref::iPhone::StatusBarHidden that is set in defaultPrefs.cs and make things confusing.