Status Bar Wont disappear?

Using build .639 and Latest Stable Build the status bar wont disappear, in my main.lua I have display.setStatusBar( display.HiddenStatusBar ) which works fine but on my Splash Screen the Status Bar is still there. This is my build.settings, Thanks for any help in advance

[lua]settings =
{
orientation =
{
default = “portrait”,
supported =
{
“portrait”, “portraitUpsideDown”
},
},

iphone =
{
plist =
{
UIPrerenderedIcon = true,
UIStatusBarHidden = true

},

}
}
[import]uid: 30314 topic_id: 20371 reply_id: 320371[/import]

Insert this into your code and watch all your problems become resolved:
[lua]—It’s this easy—
display.setStatusBar( display.HiddenStatusBar )[/lua]

Regards,
Jordan Schuetz
Ninja Pig Studios [import]uid: 29181 topic_id: 20371 reply_id: 79597[/import]

@ Ninja Pig Studios

Thanks for your suggestion but if you read my post and I quote myself " in my main.lua I have display.setStatusBar( display.HiddenStatusBar ) " the problem is not the status bar during game play is when the splash screen comes up. I also added UIStatusBarHidden = true on my build.settings but that didnt seem to change a thing.

Thanks,
Chris L [import]uid: 30314 topic_id: 20371 reply_id: 79673[/import]

Perhaps adding a “,” at the end of the line of code fixes it [import]uid: 14018 topic_id: 20371 reply_id: 79682[/import]

Indeed

[code]
– cpmgen build.settings
settings =
{
orientation =
{
default = “landscapeRight”,
supported =
{
“landscapeRight”, “landscapeLeft”
},
},

iphone =
{
plist =
{
UIStatusBarHidden = true,
UIPrerenderedIcon=“YES”,
UIAppFonts =
{
–“Harrowprint.ttf”
},
},
},

} [import]uid: 84637 topic_id: 20371 reply_id: 79905[/import]

Thanks for the help, unfortunately I cant seem to fix this even by adding “,” It would be a great help if you can get terminal errors if you type something “wrong” in build.settings once again ill post my updated build.settings if anyone can pls tell me if im doing something wrong and maybe show me how it should be done properly.

Also Danny I noticed you put UIPrerenderedIcon=“YES” is that the correct way to do it and also (caps lock) or the way I have it UIPrerenderedIcon = true ?

Thanks in advance,

[lua]settings =
{
orientation =
{
default = “portrait”,
supported =
{
“portrait”, “portraitUpsideDown”
},
},

iphone =
{
plist =
{
UIPrerenderedIcon = true,
UIStatusBarHidden = true

},

},
}, [import]uid: 30314 topic_id: 20371 reply_id: 79982[/import]

I found that too… it appeared over the splash that comes up if you use the default.png method.
I recently changed to no default and using director to display the first page with a transition.
By that time, we are into the app and no status bar appears.
If that helps… [import]uid: 108660 topic_id: 20371 reply_id: 80004[/import]

@ jeff472

Thanks for the advice I did not know you “Dont” have to use a Default.png can you explain more please? I think ill take same route you took I would guess if you dont have to use a Default.png and you used director with a transition perhaps you could do some sort of animation with your splash? Thanks all help is greatly appreciated, im still wondering why my UIStatusBarHidden = true does not work. [import]uid: 30314 topic_id: 20371 reply_id: 80006[/import]

Nopt supplying a default.png is literally that.
Don’t have one if you don’t want.

This is what I currently do instead:

[code]
local main = function ()
mainGroup:insert(director.directorView)
director:changeScene(“mylogo”,“dissolve”)
return true
end

main()

[/code] [import]uid: 108660 topic_id: 20371 reply_id: 80014[/import]

I think apple requires you to have a Default.png file [import]uid: 14018 topic_id: 20371 reply_id: 80032[/import]

Actually, your first build.settings if perfectly OK. You don’t need to add a “,” since it’s the last statement in the block.

It’s weird that the status bar doesn’t disappear though…
What happens if you would just switch places with UIPrerenderedIcon and put UIStatusBarHidden first in the list?

EDIT:
You could also try deleting the entry completely and then re-typing it again. I know this sounds weird, but sometimes a control character might have slipped in to the file which isn’t visible in the editor. [import]uid: 70847 topic_id: 20371 reply_id: 80033[/import]

I just tried testing this and it seemed to work. The status bar immediately disappears when the Default.png shows up. I used the latest daily build (724).

I copied your config file code, and I first commented out the two items in the “plist” part. Then built and copied to device (an iPod4 Touch). The statusbar showed up.

Then I uncommented those two items, built and installed on device. No status bar. It seems that I didn’t even need the display.setStatusBar( display.HiddenStatusBar ).

I tried it on the last stable build (704) also and it worked fine there also.

If it is still not working. The only thing I can think of is that maybe the “build.settings” file name is misspelled or maybe you are editing the wrong file (it is in a different project folder than the one you are expecting it to be in)? [import]uid: 94868 topic_id: 20371 reply_id: 80052[/import]

I have the same problem, i.e. when the default.png is loaded the statusbar is not shown.   Despite the first line in my app being…

display.setStatusBar( display.HiddenStatusBar)

the status bar is show briefly between the default image being shown and the app starting.   Why is that?   It’s ANNOYING!

I’ve also got this in my settings.build file

settings = 

{

        iphone =

        {

                    

                plist=

                {

                       UIStatusBarHidden = true,

                       UIApplicationExitsOnSuspend = true,                                

                       UIPrerenderedIcon = true,

                },

        },

}

I have the same problem, i.e. when the default.png is loaded the statusbar is not shown.   Despite the first line in my app being…

display.setStatusBar( display.HiddenStatusBar)

the status bar is show briefly between the default image being shown and the app starting.   Why is that?   It’s ANNOYING!

I’ve also got this in my settings.build file

settings = 

{

        iphone =

        {

                    

                plist=

                {

                       UIStatusBarHidden = true,

                       UIApplicationExitsOnSuspend = true,                                

                       UIPrerenderedIcon = true,

                },

        },

}