How can I programmatically know which interface orientaton I am in when the application loads?

Posted by wolverine on Stack Overflow See other posts from Stack Overflow or by wolverine
Published on 2010-04-20T04:32:53Z Indexed on 2010/04/20 4:53 UTC
Read the original article Hit count: 280

Using some of the methods, I am able to check the orientations to which I am rotating my device. But how can I know the orientation in which I am in when the app is loaded? I want to write the code to rearrange the views in the viewDidLoad method by checking the way my orientation is in?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uiinterfaceorientation