I am changing my application to universal and want all the views of the iPad to be in landscape mode. My First view is a UIViewController which was added to the window using:
[window addSubview:mainController.view];
Using this view, you can select a button and a navigation controller appears. The navigation controller is added as follows:
[[[UIApplication sharedApplication] keyWindow] addSubview:navigationController.view];
The main view is viewed in landscape mode correctly. However, when I add the navigation controller it is added in portrait mode (IPad is still in landscape, but the navigation controller is flipped). I changed the shouldAutorotate methods to support landscapeLeft while using iPad, changed the iPad IB tableView to be in landscape mode, changed the plist file to be in landscape as well. Did I miss something that causes it to be added in portrait?
Thanks in Advance,
Sami