equal
deleted
inserted
replaced
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; |