I have my iPad application created using the SplitView template. I wonder what is the best way to restrict my application to landscape mode?
I have tried overriding
Try this (it works):
-(BOOL)shouldAutorotateToInterfaceOrientation(UIInterfaceOrientation)toInterfaceOrientation { if(toInterfaceOrientation == UIInterfaceOrientationLandscapeRight) return YES; } else { return NO; } }