iOS Displaying the status bar


#1

Hi,

does anyone know how to allow the iOS status bar to be displayed when using Juce? My apps and also the Juce demo just show a black bar where the status bar should be. I've tried kiosk mode with various settings, full screen and explicitly sizing the window based on the display size, but no luck. Any ideas?


#2

You are probably seeing the status bar but it has black text and so you don't see the text.  You can change the status bar text color to white by setting these in your plist:

View controller-based status bar appearance  =  NO
Status bar style = UIStatusBarStyleLightContent


#3

Thanks, that does the trick and it's a lot easier than what I was trying to do from the program. Next challenge is to workout how to get the iOS transparent overlayed status bar - but that's for another time :-)