Ok, so I want to have 3 view and all of them landscape but i want 2 of the to be in ONLY landscape and i want ONLY 1 OF THEM to be in portrait. When i do this they all go in portrait. I am using storyboards.
I have in the .m file:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
if (interfaceOrientation==UIInterfaceOrientationLandscapeLeft || interfaceOrientation==UIInterfaceOrientationLandscapeLeft)
return YES;
return NO;
}
I have it set up to landscape left in the target and in the plist, I have "Initial interface orientation" and "supported orientations landscape left". I have tried everything and nothing has worked, someone please help me.