iOS / iPhone: Fade out and remove view


/ Published in: Objective C
Save to your folder(s)



Copy this code and paste it in your HTML
  1. [UIView animateWithDuration:0.2 animations:^{
  2. view.alpha = 0.0;
  3. } completion:^(BOOL finished){
  4. [view removeFromSuperview];
  5. }];

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.