I have application that uses landscape right orientation. In view controllers I use:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)inter
Try setting the UIInterfaceOrientation
key in your Info.plist to UIInterfaceOrientationLandscapeRight
. That should force landscape right orientation on launch.
The problem was in function viewDidLoad where another view controller is pushed into navigation stack immediately. If pushing action is delayed then landscape rotation will start and proceed, and also desired view controller will be pushed properly with landscape orientation.