Full Screen on iOS


#1

Hello All,

I'm not able to use the entireity of the iPad's screen. When using setFullScreen(true) there is always a block of black pixels at the top where the title bar would presumably be. How do I get rid of this, and utilise the total area?

// MainComponent.h

MainWindow()  : DocumentWindow ("MainWindow", Colours::lightgrey, 0)
        {
            setUsingNativeTitleBar (true);
            setResizable(false, false);
            setTitleBarHeight(0);
            setFullScreen(true);

            setContentOwned (new MainContentComponent(), false);
            setVisible (true);
        }

The main content component simply fills the screen with Green, and draws a red border around it's bounds to identify where they are. Attached are screenshots from the app.

Chris


#2

http://www.juce.com/comment/302779#comment-302779


#3

Works great - thanks a lot otristan!