I previously had my app successfully rotating a controller that had a UIimage subview.
I set the following to yes.
This was all that was required to get rotation to work, in IOS5.
Since adding a tab bar controller, the rotation has stopped.
In storyboard, I have set attributes so that the tab bar does not display when the controller is pushed to ImageViewController. I have also enabled the full screen attribute. But still no rotation.
What could have gone wrong here?
I set the following to yes.
Code:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return YES;
}
This was all that was required to get rotation to work, in IOS5.
Since adding a tab bar controller, the rotation has stopped.
In storyboard, I have set attributes so that the tab bar does not display when the controller is pushed to ImageViewController. I have also enabled the full screen attribute. But still no rotation.
What could have gone wrong here?
Last edited: