I have a project using UINavigationController and segues working properly good, all of them rotate correctly, the thing is... I just want to disabl
Try to implement that in your UIViewController:
// implements the interface orientation (iOS 6.x)
@interface UINavigationController (RotationNone)
-(NSUInteger)supportedInterfaceOrientations;
@end
@implementation UINavigationController (RotationNone)
-(NSUInteger)supportedInterfaceOrientations {
return UIInterfaceOrientationMaskPortrait;
}
@end