Launching application in landscape orientation for IPad

Posted by Sagar Mane on Stack Overflow See other posts from Stack Overflow or by Sagar Mane
Published on 2010-06-01T05:45:47Z Indexed on 2010/06/01 5:53 UTC
Read the original article Hit count: 470

Filed under:
|

Hello All,

Facing one issue with launching application in landscape orientation for IPad. I have developed IPhone application which later I ported to IPad.

I have made setting regarding orientation in info.plist

[ UISupportedInterfaceOrientations~ipad ] to support all orientation UIInterfaceOrientationPortrait , UIInterfaceOrientationPortraitUpsideDown , UIInterfaceOrientationLandscapeLeft , UIInterfaceOrientationLandscapeRight.

but when I start IPad application in the landscape mode, it always start in the potrait mode.

Along this

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation

{ return YES; }

help me, if I am missing something with this..

Thanks,

Sagar

© Stack Overflow or respective owner

Related posts about iphone

Related posts about ipad