cocoaTouch/PopoverMenuViewController.m
changeset 3335 2520ee7a5484
parent 3308 b6dcae4b6d2c
child 3340 96dd168b080b
equal deleted inserted replaced
3334:f94a52a763d4 3335:2520ee7a5484
    12 
    12 
    13 @implementation PopoverMenuViewController
    13 @implementation PopoverMenuViewController
    14 @synthesize menuList;
    14 @synthesize menuList;
    15 
    15 
    16 
    16 
    17 -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    17 -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation {
    18     return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
    18 	return rotationManager(interfaceOrientation);
    19 }
    19 }
       
    20 
    20 
    21 
    21 -(void) didReceiveMemoryWarning {
    22 -(void) didReceiveMemoryWarning {
    22     // Releases the view if it doesn't have a superview.
    23     // Releases the view if it doesn't have a superview.
    23     [super didReceiveMemoryWarning];
    24     [super didReceiveMemoryWarning];
    24     self.menuList = nil;
    25     self.menuList = nil;