Permalink
Browse files

support landscape orientation

  • Loading branch information...
1 parent 1764e59 commit 83c2105fa10e8c1822ade69866ac5e9af7ae29a8 Rotem Rubnov committed Mar 14, 2011
@@ -65,13 +65,13 @@ - (void)viewDidLoad {
-/*
+
// Override to allow orientations other than the default portrait orientation.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
- // Return YES for supported orientations
- return (interfaceOrientation == UIInterfaceOrientationPortrait);
+
+ return YES;
}
-*/
+
- (void)didReceiveMemoryWarning {
// Releases the view if it doesn't have a superview.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 83c2105

Please sign in to comment.