I'm implementing these methods for rotation but they don't work:
-(BOOL)shouldAutorotate {
return NO;
}
- (UIInterfaceOrientationMask)supportedInterfaceOrientations{
return UIInterfaceOrientationMaskLandscape;
}
- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation{
return UIInterfaceOrientationLandscapeRight;
}
I want to force only one view to landscape and lock the rotation, but the app doesn't catch this methods, and I don't know why. Any solution?