--- a/cocoaTouch/HogHatViewController.m Sun Apr 11 01:04:54 2010 +0000
+++ b/cocoaTouch/HogHatViewController.m Sun Apr 11 03:43:13 2010 +0000
@@ -14,10 +14,11 @@
@synthesize teamDictionary, hatArray, hatSprites, lastIndexPath, selectedHog;
-- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
- return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
+-(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation {
+ return rotationManager(interfaceOrientation);
}
+
#pragma mark -
#pragma mark View lifecycle
- (void)viewDidLoad {