equal
deleted
inserted
replaced
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) { |