equal
deleted
inserted
replaced
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]; |