Disable that the ipad changes between landscape and portrait view..

Hi,

ive set the player settings for my ipad as target device and for the "default screen orientation" to "Landscape left".

If im starting my ipadapp and turning the ipad to portrait view, my content is still in landscape correctly. But the ipad shows black edges whichs turns between landscape and portrait by turning the views but still disappear.

Does anybody know how to fix it, that the black edges dont appear?

Thanks for your time...

Try this:

iPhoneKeyboard.autorotateToPortrait = false; iPhoneKeyboard.autorotateToPortraitUpsideDown = false; iPhoneKeyboard.autorotateToLandscapeLeft = false; iPhoneKeyboard.autorotateToLandscapeRight = false;