shouldAutorotateToInterfaceOrientation not getting called in iOS 6
The shouldAutorotateToInterfaceOrientation method is deprecated in iOS6. Instead shouldAutorotate and supportedInterfaceOrientation methods are used. If some logic is used in shouldAutorotateToInterfaceOrientation method, it should be implemented in -willRotateToInterfaceOrientation:duration: method.
First, if you want the view controller’s content to be able to auto rotate just return YES in -shouldAutorotate method.
Supported interface orientations are returned in the -supportedInterfaceOrientations method.
If there is some logic, like switching views for landscape and portrait on rotation use the -willRotateToInterfaceOrientation:duration: method.