I'm using a storyboard with xcode 4.5, building an app on iOS 6. I have a video in an mpvideoviewcontroller. It goes landscape when I view the video, but for all the other views (I have likes songs, and news) how do I make it portrait for all those other tabs? I just want the video to be in landscape. Is there something I am missing, I do. Orientation on every tab to Portrait, on the xcode project summary screen I enable left and right. And I add this line of code for the ones I want to be only in portrait.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return NO;
}
Any suggestions?
FYI: If I change in the summary page of Xcode for orientations to only portrait mode, every view is in portrait, and I want my video view to be in landscape not portrait mode.