iPad launch orientation

Posted by Brian on Stack Overflow See other posts from Stack Overflow or by Brian
Published on 2010-05-18T17:20:47Z Indexed on 2010/05/18 17:40 UTC
Read the original article Hit count: 324

Filed under:
|
|
|

After reading many posts, I still haven't got a clue how to solve this problem...

The first view of my app is a tableViewController. I override

(BOOL) shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation)interfaceOrientation 

and it always returns YES.

If I hold my iPad upright under landscape orientation, it rotates right after I launch the app. However, if I put my iPad flat on the table, even though my homepage is in landscape orientation, it launches in protrait orientation.

So I guess the problem is, how can I get the orientation of my homepage and launch my app with that orientation?

© Stack Overflow or respective owner

Related posts about ipad

Related posts about Launch