cocoaTouch/MainMenuViewController.m
changeset 2738 bfccb2ec4334
parent 2723 eaa6ac1e95ea
child 2740 03df0573a9fd
equal deleted inserted replaced
2737:4d1406bc8b3e 2738:bfccb2ec4334
    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];