Transferred from: HTTP://STACKOVERFLOW.COM/QUESTIONS/13588325/SHOULDAUTOROTATE-METHOD-NOT-CALLED-IN-IOS6
Reference 1:http://stackoverflow.com/questions/21088956/supportedinterfaceorientations-not-called-with-ios-7
Reference 2:http://stackoverflow.com/questions/12775265/ios-6-shouldautorotate-is-not-being-called
If you had a Navigation Controller managing these views, the shouldautorotate method won ' t is called. You would has to subclass Uinavigationcontroller and override methods Shouldautorotate and Supportedintervalorientations.
From the docs:
Now, IOS containers (such as Uinavigationcontroller) don't consult their children to determine whether they should Autoro Tate
Edit-----
As mentioned below by Lomax, subclassing Uinavigationcontroller was discouraged by Apple. You should try a category instead (this so question explains it well):
@implementation UINavigationController -(BOOL)shouldAutorotate{ // your code}-(NSUInteger)supportedInterfaceOrientations{ (...)}@end
Shouldautorotate Method not called in iOS6