How to make the Statusbar disappear?

Hello

Im playing around with Lua and Corona. I have programmed it so that it shows a simple background picture:

– Background intro splash screen
local halfW = display.stageWidth / 2
local halfH = display.stageHeight / 2

local backgroundPortrait = display.newImage( “noorbackgroundIPhone.jpg”, 0, 0 )
local background = backgroundPortrait

But the problem is that the Iphone status bar shadows over the app. I want to remove it and I have tried learning from the Status bar sample and added this to the code:

–Hide status bar
local modes = {
display.HiddenStatusBar,
}
local modeNames = {
“display.HiddenStatusBar”,
}

But the status bar is still there when I run the simulator. Help anyone? [import]uid: 3870 topic_id: 227 reply_id: 300227[/import]

Toofan try calling
display.setStatusBar( display.HiddenStatusBar )

carlos [import]uid: 24 topic_id: 227 reply_id: 284[/import]

Thank you!

Me and my friend who is studying medicine are planning on making some medical applications for the Iphone, we decided to use Corona. Il probably come back here and ask for more as I try to learn Lua.Still working on losing my flash frame mindset :slight_smile: [import]uid: 3870 topic_id: 227 reply_id: 289[/import]

Yeah… this is still broken.
I’m seeing this too.
Is it possible if you have a lot of globals which causes the launch time to increase, then it will cause issues hiding the status bar on launch?
[import]uid: 40413 topic_id: 227 reply_id: 51049[/import]