iOS 7 status bar color

Hey,

I am experimenting with the following command:

display.setStatusBar(mode)

When I run display.setStatusBar(display.defaultStatusBar) in (Mac) simulator, I get a nice looking white “default” status bar.

However, if I run this app on my device then the status bar changes back to it´s normal behavior. This command does not seem to affect the device at all. I am doing this in main.lua

Build number 2150, Mac

Device: iOS 7 iPhone 4

May someone please double check this?

Edit:

display.setStatusBar(display.DarkStatusBar) does not work either

only display.setStatusBar(display.HiddenStatusBar) seems to work

best,

Max / CineTek

It seems like that UIStatusBarStyleBlackTranslucent and UIStatusBarStyleBlackOpaque are deprecated in iOS 7. So I highly suggest you guys at Corona to update the documentation :wink:

Well back when we were testing 2100 there are a light and dark status bar.  They are all now translucent, so that one really doesn’t do much, but I don’t know what the impact is on people still running iOS 6 or any Android devices.

Rob

It seems like that UIStatusBarStyleBlackTranslucent and UIStatusBarStyleBlackOpaque are deprecated in iOS 7. So I highly suggest you guys at Corona to update the documentation :wink:

Well back when we were testing 2100 there are a light and dark status bar.  They are all now translucent, so that one really doesn’t do much, but I don’t know what the impact is on people still running iOS 6 or any Android devices.

Rob

We just ran afoul of this without realising. What a pain in the arse, and I wonder if most apps not directly updated for iOS 7 now have this problem?

So, now I have to hope they don’t decide to change the default status bar being white text, because the solution is of course to just dump a white BG in the status bar area. Just two points about this:

  1. It negates entirely the concept of having the damn status bar semi-transparent and

  2. Means a new build and release to the app store.

Am most impressed by Apple’s stupidity on this one.

We just ran afoul of this without realising. What a pain in the arse, and I wonder if most apps not directly updated for iOS 7 now have this problem?

So, now I have to hope they don’t decide to change the default status bar being white text, because the solution is of course to just dump a white BG in the status bar area. Just two points about this:

  1. It negates entirely the concept of having the damn status bar semi-transparent and

  2. Means a new build and release to the app store.

Am most impressed by Apple’s stupidity on this one.