How to set the IOS APP fullscreen on ipad in OF 9.0?

this is my setting in

int main() {

//  here are the most commonly used iOS window settings.
ofiOSWindowSettings settings;
settings.enableRetina = true; // enables retina resolution if the device supports it.
settings.enableDepth = false; // enables depth buffer for 3d drawing.
settings.enableAntiAliasing = false; // enables anti-aliasing which smooths out graphics on the screen.
settings.numOfAntiAliasingSamples = 0; // number of samples used for anti-aliasing.
settings.enableHardwareOrientation = false; // enables native view orientation.
settings.enableHardwareOrientationAnimation = false; // enables native orientation changes to be animated.
settings.glesVersion = OFXIOS_RENDERER_ES1; // type of renderer to use, ES1, ES2, ES3
settings.windowMode = OF_FULLSCREEN;

return ofRunApp(new ofApp);


On iphone is ok.But on ipad,It’s still not a fullScreenSize?

What might be happening there is that you are compiling an iPhone app rather than a Universal (or iPad only) app. Have a look at the build settings. Or is this (1X) icon coming from somewhere else?

Where it says Devices: Universal, does your perhaps say iPhone?

Oh,That 's the reason.Thanks hahakid :smile: