project_files/HedgewarsMobile/Classes/SDL_uikitappdelegate.m
changeset 3626 19f78afa0188
parent 3625 9f1d79e01a60
child 3627 f1da1d8fb56c
equal deleted inserted replaced
3625:9f1d79e01a60 3626:19f78afa0188
    98     free(gameArgs);
    98     free(gameArgs);
    99     
    99     
   100     // bring the uiwindow below in front
   100     // bring the uiwindow below in front
   101     UIWindow *aWin = [[[UIApplication sharedApplication] windows] objectAtIndex:0];
   101     UIWindow *aWin = [[[UIApplication sharedApplication] windows] objectAtIndex:0];
   102     [aWin makeKeyAndVisible];
   102     [aWin makeKeyAndVisible];
   103     aWin =  [[[UIApplication sharedApplication] windows] lastObject];
       
   104     [aWin removeFromSuperview];
       
   105     
   103     
   106     DLog(@"%@",[[UIApplication sharedApplication] windows]);
   104     DLog(@"%@",[[UIApplication sharedApplication] windows]);
   107     
   105     
   108     [UIView beginAnimations:@"inserting main controller" context:NULL];
   106     [UIView beginAnimations:@"inserting main controller" context:NULL];
   109     [UIView setAnimationDuration:1];
   107     [UIView setAnimationDuration:1];