Hi,
I implemented in my app
display.setStatusBar( display.HiddenStatusBar )
but the statusbar is visible in IOS 7. How to hide this one?..
Hi,
I implemented in my app
display.setStatusBar( display.HiddenStatusBar )
but the statusbar is visible in IOS 7. How to hide this one?..
From what I understand, it cannot be hidden in iOS7. Workarounds are to use the older SDK for dev until resolved by Corona.
Hi @haribabu.1011, Panc,
Please check the release notes for Build 1210. I believe this has been addressed.
Thanks,
Brent
So we have to be a pro subscriber to hide the display bar?
Add this line into build.settings in the iPhone section:
UIViewControllerBasedStatusBarAppearance = false
This should not need to be done with build 1210. It seemed to be needed in earlier beta’s, but I just tested it an it’s not needed.
I should qualify this. You still need to have:
UIStatusBarHidden = true,
in your build.settings and:
display.setStatusBar( display.HiddenStatusBar )
In your code.
For people using the public build 1202, the standard methods of hiding the status bar should work.
Have added UIStatusBarHidden = true, to build.config iphone plist
Also the first line in my main.lua is display.setStatusBar( display.HiddenStatusBar )
Still I see the status bar in iOS 7 when building public release.
After adding UIViewControllerBasedStatusBarAppearance = false to iphone plist the status bar is no longer visible.
@friskypigstudios - I’m seeing the same thing.
I just tried build 1210 and the new transition methods are quite buggy (animations are now off and new crashes introduced) and I had to revert to 1202. Now, the status bar is showing in iOS 7, even in build 1202. I need to send a build off to Apple for a new game ASAP, but can’t use build 1210…
Can you please be more specific on the transitions issues? What exactly is occurring? I’ll field these to the engineers a.s.a.p. if you can describe them and perhaps show some code on where it’s happening.
Thanks,
Brent
Hey Brent, still investgating… I have two blocks that animate towards each other, each with simple transition.to() using an easeOutBounce easing function. With build 1202, the blocks hit accurately and then did what they should. With build 1210, the blocks didn’t hit each other but there was about a 4px space in between.
The easeOutBounce function I am using is not part of any of the new built-in functions (Robert Penner’s library), but I assume it’s almost the same. Just interesting why it the blocks were off a bit…
Then, had an unexpected crash that hadn’t occurred before… still investigating that.
I was able to use friskypigstudio’s suggestion for UIViewControllerBasedStatusBarAppearance = false on build 1202 and the status bar is hidden.
For 1202, you will probably need to use the UIViewControllerBasedStatusBarAppearance line since this bug was fixed in 1210.
From what I understand, it cannot be hidden in iOS7. Workarounds are to use the older SDK for dev until resolved by Corona.
Hi @haribabu.1011, Panc,
Please check the release notes for Build 1210. I believe this has been addressed.
Thanks,
Brent
So we have to be a pro subscriber to hide the display bar?
Add this line into build.settings in the iPhone section:
UIViewControllerBasedStatusBarAppearance = false
This should not need to be done with build 1210. It seemed to be needed in earlier beta’s, but I just tested it an it’s not needed.
I should qualify this. You still need to have:
UIStatusBarHidden = true,
in your build.settings and:
display.setStatusBar( display.HiddenStatusBar )
In your code.
For people using the public build 1202, the standard methods of hiding the status bar should work.
Have added UIStatusBarHidden = true, to build.config iphone plist
Also the first line in my main.lua is display.setStatusBar( display.HiddenStatusBar )
Still I see the status bar in iOS 7 when building public release.
After adding UIViewControllerBasedStatusBarAppearance = false to iphone plist the status bar is no longer visible.
@friskypigstudios - I’m seeing the same thing.
I just tried build 1210 and the new transition methods are quite buggy (animations are now off and new crashes introduced) and I had to revert to 1202. Now, the status bar is showing in iOS 7, even in build 1202. I need to send a build off to Apple for a new game ASAP, but can’t use build 1210…