cocoaTouch/FlagsViewController.m
changeset 3335 2520ee7a5484
parent 3325 652a8ebdf667
child 3374 0d522416d97f
--- a/cocoaTouch/FlagsViewController.m	Sun Apr 11 01:04:54 2010 +0000
+++ b/cocoaTouch/FlagsViewController.m	Sun Apr 11 03:43:13 2010 +0000
@@ -13,10 +13,11 @@
 @synthesize teamDictionary, flagArray, flagSprites, lastIndexPath;
 
 
-- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
-    return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
+-(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation {
+	return rotationManager(interfaceOrientation);
 }
 
+
 #pragma mark -
 #pragma mark View lifecycle
 - (void)viewDidLoad {