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