cocoaTouch/MainMenuViewController.m
changeset 2738 bfccb2ec4334
parent 2723 eaa6ac1e95ea
child 2740 03df0573a9fd
--- 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 {