equal
deleted
inserted
replaced
42 [theTeam release]; |
42 [theTeam release]; |
43 } |
43 } |
44 |
44 |
45 BOOL rotationManager (UIInterfaceOrientation interfaceOrientation) { |
45 BOOL rotationManager (UIInterfaceOrientation interfaceOrientation) { |
46 if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) |
46 if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) |
47 return (interfaceOrientation == UIInterfaceOrientationLandscapeRight) || (interfaceOrientation == UIInterfaceOrientationLandscapeLeft); |
47 return YES; |
48 else |
48 else |
49 return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); |
49 return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); |
50 |
50 |
51 } |
51 } |
52 |
52 |