UIView *kView;
CGContextRef context = UIGraphicsGetCurrentContext();
[UIView beginAnimations:@"Right Flip" context:context];
[UIView setAnimationTransition: UIViewAnimationTransitionFlipFromRight forView:kView cache:YES];
[UIView setAnimationCurve:UIViewAnimationCurveEaseOut];
[UIView setAnimationDuration:0.3];
[UIView setAnimationDelegate:self];
[UIView commitAnimations];
CGContextRef context = UIGraphicsGetCurrentContext();
[UIView beginAnimations:@"Right Flip" context:context];
[UIView setAnimationTransition: UIViewAnimationTransitionFlipFromRight forView:kView cache:YES];
[UIView setAnimationCurve:UIViewAnimationCurveEaseOut];
[UIView setAnimationDuration:0.3];
[UIView setAnimationDelegate:self];
[UIView commitAnimations];
No comments:
Post a Comment