project_files/HedgewarsMobile/Classes/SDL_uikitappdelegate.m
changeset 3629 86212d2b116a
parent 3628 2b4d878ba565
child 3650 ec90e573f47a
equal deleted inserted replaced
3628:2b4d878ba565 3629:86212d2b116a
    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     //DLog(@"%@",[[UIApplication sharedApplication] windows]);
   103     
       
   104     // notice that in the simulator this reports 2 windows
       
   105     DLog(@"%@",[[UIApplication sharedApplication] windows]);
   104     
   106     
   105     [UIView beginAnimations:@"inserting main controller" context:NULL];
   107     [UIView beginAnimations:@"inserting main controller" context:NULL];
   106     [UIView setAnimationDuration:1];
   108     [UIView setAnimationDuration:1];
   107     mainViewController.view.alpha = 1;
   109     mainViewController.view.alpha = 1;
   108     [UIView commitAnimations];
   110     [UIView commitAnimations];