Fu screen error


#1

when i use juce on ios,I can't set app full screen,when i use juce::Rectangle<int> area = Desktop::getInstance().getDisplays().getMainDisplay().userArea;

the heigh is not screen height.

what's wrong with it?


#2

userArea is the area not including the status bar?

But don't set the size yourself - the best way to make a window fullscreen is to use ResizableWindow::setFullScreen, because that'll keep it full-screen when the resolution changes.


#3

there are a black area at top and bottom, I debug the code, in IOS,  area's width is always 320 and height is 640

 


#4

I think there's a plist setting that you have to use to tell it that your app can use the whole screen. Can't remember what the setting is, but hopefully someone else will let us know..


#5

I check all the plist options,there are no fullscreen set......

at ipad,it's right,but at iphone there are large black arean o top and bottom


#6

http://stackoverflow.com/questions/12396143/how-to-add-iphone-5-large-screen-support-to-ios-apps-in-xcode