Use Supported interface orientations
to Landscape (left home button)
and set its value in your info.plist file. This will start your app in that orientation and you need to set
- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return (interfaceOrientation == UIInterfaceOrientationLandscapeLeft);
}
In every viewController.
Hope this is what you are looking for. Let me know if you need anything else.
Update
Hi @DanSolo I think you have your application created in XCode right? if so than goto your any view controller and check for the shouldAutorotateToInterfaceOrientation
method. This method will be called when you rotate your device. If you will return Yes than it will get rotate otw it won't. In your case you will return
return (interfaceOrientation == UIInterfaceOrientationLandscapeLeft);
This will return Yes only in your landscape Left mode. If you want both landscape left and right use
return ((interfaceOrientation == UIInterfaceOrientationLandscapeLeft) ||
(interfaceOrientation == UIInterfaceOrientationLandscapeRight);
This code will go in your every viewController's shouldAutorotateToInterfaceOrientation
method.
Hope it helps :)