equal
deleted
inserted
replaced
26 - (void)viewDidLoad { |
26 - (void)viewDidLoad { |
27 [super viewDidLoad]; |
27 [super viewDidLoad]; |
28 } |
28 } |
29 */ |
29 */ |
30 |
30 |
31 /* |
|
32 // Override to allow orientations other than the default portrait orientation. |
31 // Override to allow orientations other than the default portrait orientation. |
33 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { |
32 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { |
34 // Return YES for supported orientations |
33 // Return YES for supported orientations |
35 return (interfaceOrientation == UIInterfaceOrientationPortrait); |
34 return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); |
36 } |
35 } |
37 */ |
|
38 |
36 |
39 - (void)didReceiveMemoryWarning { |
37 - (void)didReceiveMemoryWarning { |
40 // Releases the view if it doesn't have a superview. |
38 // Releases the view if it doesn't have a superview. |
41 [super didReceiveMemoryWarning]; |
39 [super didReceiveMemoryWarning]; |
42 |
40 |