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 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]; |