Update main window bounds when iPad rotates


#1

Hi,

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,

Geert


#2

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.


#3

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