I am creating a zoo application, and it is very simple, but because in fisrt I tried to make it with code and using xcode 3.2, but I had some problems, so I started it with Xcode 4.3 and try this with a storyboard.
My question is: how could I host the entire application in landscape mode? I mean, I already installed it in the info list: the initial orientation of the interface, and then in the .m file I changed the following:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return UIInterfaceOrientationLandscapeRight;
}
But it does not work. When I add a tabbarcontroller and link it, all views become portraits. First, if I rotate it, it gives me a landscape, but everyone else is always in the portrait, so what can I do?
source
share