I understand you can specify a landscape, for the entire application but what if it’s partially in landscape and partially in portrait.
Currently I have some views that are basically Images. These images have been rotated so that the user knows certain sections of the application are going to be in Landscape mode. All my UILabels are also rotated to give this effect as well.
My question is, is there a better way to handle this. Is there a way to set the orientation programmatically at run time? In which case I would no longer need to rotate my images/uilabels.
Just to clarify, I do not need auto rotation functionality, the way that it is being implemented now is captures all the functionality I want to include in the app but I just wanted to know if there is a less cumbersome way of handling landscape/portrait views within the same application.
You can force rotation at any time by calling;
My current application is primarily landscape, but has a few portrait views. In the view controllers corresponding to views the user should be able to rotate, I am allowing the rotation but preventing animation. This gives you a switch to another view in your NIB, without any weird slide-off-the-screen screwyness that normally happens is you pile on a view during the animation.
Hopefully you find this helpful!