iOS / iPhone: Flip animation between UIView using block

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

Copy this code and paste it in your HTML
  1. [UIView transitionWithView:containerView duration:0.2
  2. options:UIViewAnimationOptionTransitionFlipFromLeft animations:^{
  3. [fromView removeFromSuperview];
  4. [containerView addSubview:toView]
  5. }
  6. completion:NULL];

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.