Thursday, 30 October 2014

Remove View from SuperView with Animation

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

No comments:

Post a Comment