Update main window bounds when iPad rotates



This is probably extremely newbie stuff, but I can’t figure out how to create a full-screen main window on the iPad that correctly changes its bounds when the device is rotated. Does anyone have any best practices or examples to do this correctly with the latest Juce Git repo code?

Thanks for the help,



Ok, I found that when setting the main window to kiosk mode it behaves as I want when rotating, ie. the width and height is correctly updated and the positioning is correct too.


I’d have thought that it’d also work correctly if you do a setFullscreen (true) on it.