diff -r f94a52a763d4 -r 2520ee7a5484 cocoaTouch/PopoverMenuViewController.m --- a/cocoaTouch/PopoverMenuViewController.m Sun Apr 11 01:04:54 2010 +0000 +++ b/cocoaTouch/PopoverMenuViewController.m Sun Apr 11 03:43:13 2010 +0000 @@ -14,10 +14,11 @@ @synthesize menuList; --(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { - return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); +-(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation { + return rotationManager(interfaceOrientation); } + -(void) didReceiveMemoryWarning { // Releases the view if it doesn't have a superview. [super didReceiveMemoryWarning];