project_files/HedgewarsMobile/Classes/SDL_uikitappdelegate.m
changeset 3940 cc29628976cc
parent 3935 5ca27a0e9a63
child 3941 017b2b31e1c6
equal deleted inserted replaced
3939:e6fddcb04dc2 3940:cc29628976cc
   156     if ([[UIScreen screens] count] > 1)
   156     if ([[UIScreen screens] count] > 1)
   157         gameWindow = self.uiwindow;
   157         gameWindow = self.uiwindow;
   158     else
   158     else
   159         gameWindow = [[UIApplication sharedApplication] keyWindow];
   159         gameWindow = [[UIApplication sharedApplication] keyWindow];
   160     [gameWindow addSubview:overlayController.view];
   160     [gameWindow addSubview:overlayController.view];
   161     [overlayController release];
   161     //[overlayController release];
   162 }
   162 }
   163 
   163 
   164 // override the direct execution of SDL_main to allow us to implement the frontend (or even using a nib)
   164 // override the direct execution of SDL_main to allow us to implement the frontend (or even using a nib)
   165 -(void) applicationDidFinishLaunching:(UIApplication *)application {
   165 -(void) applicationDidFinishLaunching:(UIApplication *)application {
   166     [application setStatusBarHidden:YES];
   166     [application setStatusBarHidden:YES];