I am writing an application in the latest version of Xcode for iPad with iOS version 5.1. For all views, you need to set a fixed value for the orientation UIInterfaceOrientationLandscapeLeft. In the storyboard set the landscape for scene's. In -shouldAutorotateToInterfaceOrientation: writing
return (interfaceOrientation == UIInterfaceOrientationLandscapeLeft);
After I make the build, the simulator opens in portait and the UI also looks like, when imitating the rotation of the device, everything turns (i.e. fixed in portrait-mode, but in landscape). Screenshots in the builder and on the simulator:
In the simulator, in the scheme and in the deplyment target, 5.1 is set. How to solve the problem?