cocoaTouch/MainMenuViewController.m
changeset 3317 198ec44b6d92
parent 3315 4e2813713358
child 3321 988e39ef3c20
equal deleted inserted replaced
3316:52f0482b043f 3317:198ec44b6d92
   149     
   149     
   150     [UIView beginAnimations:@"removing main controller" context:NULL];
   150     [UIView beginAnimations:@"removing main controller" context:NULL];
   151 	[UIView setAnimationDuration:1];
   151 	[UIView setAnimationDuration:1];
   152 	self.view.alpha = 0;
   152 	self.view.alpha = 0;
   153 	[UIView commitAnimations];
   153 	[UIView commitAnimations];
   154     
       
   155     [self retain];
   154     [self retain];
   156     [self.view removeFromSuperview];
   155     //[self.view removeFromSuperview];
   157 }
   156 }
   158 
   157 
   159 // this is a silly way to hide the sdl contex that remained active
   158 // this is a silly way to hide the sdl contex that remained active
   160 -(void) hideBehind {
   159 -(void) hideBehind {
   161     if (nil == cover) {
   160     if (nil == cover) {