project_files/HedgewarsMobile/Classes/MainMenuViewController.m
branchios-revival
changeset 11229 eb600ab27fb9
parent 11221 e68b3e392091
child 11309 402baa6d4f64
equal deleted inserted replaced
11228:24bafdcf1860 11229:eb600ab27fb9
    55 #pragma mark -
    55 #pragma mark -
    56 -(void) viewDidLoad {
    56 -(void) viewDidLoad {
    57     self.view.frame = [[UIScreen mainScreen] safeBounds];
    57     self.view.frame = [[UIScreen mainScreen] safeBounds];
    58     [super viewDidLoad];
    58     [super viewDidLoad];
    59     
    59     
       
    60     [self.simpleGameButton setTitle:NSLocalizedString(@"Simple", nil) forState:UIControlStateNormal];
       
    61     [self.missionsButton setTitle:NSLocalizedString(@"Missions", nil) forState:UIControlStateNormal];
       
    62     
    60     [self.simpleGameButton applyDarkBlueQuickStyle];
    63     [self.simpleGameButton applyDarkBlueQuickStyle];
    61     [self.missionsButton applyDarkBlueQuickStyle];
    64     [self.missionsButton applyDarkBlueQuickStyle];
    62     
    65     
    63     // get the app's version
    66     // get the app's version
    64     NSString *version = [[[NSBundle mainBundle] infoDictionary] objectForKey:(NSString*)kCFBundleVersionKey];
    67     NSString *version = [[[NSBundle mainBundle] infoDictionary] objectForKey:(NSString*)kCFBundleVersionKey];