Posted By

arpit on 02/09/11


Tagged

animation


Versions (?)

Create a Flip Animation


 / Published in: Objective C
 

  1. [UIView beginAnimations:@"fadeIn" context:nil];
  2. [UIView setAnimationDuration:1];
  3. [UIView setAnimationDelegate:self];
  4. [UIView setAnimationDidStopSelector:@selector(onFlipComplete)];
  5. [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:videoPlayer cache:YES];
  6.  
  7. videoPlayer.alpha = 1;
  8.  
  9. [UIView commitAnimations];

Report this snippet  

You need to login to post a comment.