Create a Flip Animation


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



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.