x


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...

more ▼

asked Apr 26 '10 at 07:37 AM

yosh gravatar image

yosh
901 73 81 94

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Try this:

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

more ▼

answered Apr 26 '10 at 08:34 AM

kavikah gravatar image

kavikah
143 1 2 3

Oh yeah, that was helpful. Thanks a lot for your fast answer.

Apr 26 '10 at 10:58 AM yosh
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2155
x360
x151

asked: Apr 26 '10 at 07:37 AM

Seen: 2525 times

Last Updated: Apr 26 '10 at 07:37 AM