So like many others, I ran into the problem of only having one or two viewcontrollers support both portrait and landscape interface orientations, in an otherwise portrait only a
In vcA set
-(BOOL)shouldAutorotate { return YES; }
But keep
-(NSUInteger)supportedInterfaceOrientations { return UIInterfaceOrientationPortrait; }
Then the view will rotate back to the (only) supported orientation when you return from vcB