Created
February 1, 2011 10:45
-
-
Save sumardi/805694 to your computer and use it in GitHub Desktop.
iPhoneDev - Change views to landspace mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Override to allow orientations other than the default portrait orientation. | |
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { | |
// Return YES for supported orientations. | |
return (interfaceOrientation == UIInterfaceOrientationLandscapeLeft); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment