Autorotation - loading views in the correct orientation
I'm having a small problem with autorotation with the way I have my view controllers set up...
In order to save memory, whenever I switch to a view, I load up that view and throw the previous view out completely. This presents a problem when it comes to autorotation. No matter what orientation I have my device, it will load up the view in the Portrait orientation (even if that particular view has the shouldAutorotateToInterfaceOrientation: set to return false for portrait). Is there some sort of method I can call or override that would force the view controller to recheck the device's orientation and perform the autorotation?
|