cocoaTouch/TeamSettingsViewController.m
changeset 3335 2520ee7a5484
parent 3330 987ec27b6042
child 3352 ac5d14a35482
--- a/cocoaTouch/TeamSettingsViewController.m	Sun Apr 11 01:04:54 2010 +0000
+++ b/cocoaTouch/TeamSettingsViewController.m	Sun Apr 11 03:43:13 2010 +0000
@@ -14,10 +14,11 @@
 @synthesize listOfTeams;
 
 
--(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
-    return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
+-(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation {
+	return rotationManager(interfaceOrientation);
 }
 
+
 #pragma mark -
 #pragma mark View lifecycle
 // add an edit button