Problems on 4" retina


#1

I’ve just tested my app on 4" retina and it renders the app in the middle of the screen at 3.5" like the older iPods and iPhones. I have this in my DocumentWindow code . . .

#if JUCE_IOS || JUCE_ANDROID
        Desktop::getInstance().setOrientationsEnabled( Desktop::allOrientations );
        setFullScreen (true);
#else
        centreWithSize (320, 460); // 320*460 (-20 for status bar)
        setResizable(true,true);
#endif

And I can resize the app on the desktop machine to the larger resolution of the 4" devices and everything renders ok. Any ideas what’s happening? This is particularly odd as it also works just fine on an iPad at the native higher resolution.


#2

Ooops. You just need to add a launch image for that resolution.