views:

171

answers:

2

The removeFromSuperview method actually pulls off the image very quickly, is there a way to remove it in a animated fashion. thanks

+1  A: 

If you're targeting iOS4 (code snippet from UIView docs):

[UIView animateWithDuration:0.2
                 animations:^{ table.alpha = 0.0; }
                 completion:^(BOOL finished){ [table removeFromSuperview]; }];
Vladimir