--- a/cocoaTouch/MainMenuViewController.m Mon Feb 01 19:43:57 2010 +0000
+++ b/cocoaTouch/MainMenuViewController.m Mon Feb 01 21:26:15 2010 +0000
@@ -30,13 +30,10 @@
[super viewDidLoad];
}
-/*
-// Override to allow orientations other than the default portrait orientation.
-- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
- // Return YES for supported orientations
- return (interfaceOrientation == UIInterfaceOrientationPortrait);
+-(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation {
+ if (interfaceOrientation == UIInterfaceOrientationLandscapeRight) return YES;
+ else return NO;
}
-*/
/*
- (void)didReceiveMemoryWarning {