project_files/HedgewarsMobile/Classes/HedgewarsAppDelegate.m
branchios-revival
changeset 11105 379226b854ae
parent 11097 fd536d99a760
child 11114 6a0bd9c6cc82
equal deleted inserted replaced
11104:eea0481d2ae1 11105:379226b854ae
    49     [super dealloc];
    49     [super dealloc];
    50 }
    50 }
    51 
    51 
    52 // override the direct execution of SDL_main to allow us to implement our own frontend
    52 // override the direct execution of SDL_main to allow us to implement our own frontend
    53 -(void) postFinishLaunch {
    53 -(void) postFinishLaunch {
    54     [super postFinishLaunch];
    54     [self performSelector:@selector(hideLaunchScreen) withObject:nil afterDelay:0.0];
    55     
    55     
    56     [[UIApplication sharedApplication] setStatusBarHidden:YES];
    56     [[UIApplication sharedApplication] setStatusBarHidden:YES];
    57 
    57 
    58     self.uiwindow = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    58     self.uiwindow = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    59     self.uiwindow.backgroundColor = [UIColor blackColor];
    59     self.uiwindow.backgroundColor = [UIColor blackColor];