Posted By

BenClayton on 04/04/11


Tagged


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

athanhcong
Tintenklecks
cnathan


iOS / iPhone: Fade out and remove view


 / Published in: Objective C
 

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

Report this snippet  

You need to login to post a comment.