版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zhdzxc123/article/details/76792212
1.翻转
[UIView beginAnimations:@"boardViewFlip" context:nil];
[UIView setAnimationDuration:1.0f];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:_filpView cache:YES];
[UIView setAnimationDelegate:self];
[UIView setAnimationCurve:UIViewAnimationCurveLinear];
[UIView commitAnimations];
//animation stop
- (void)animationDidStop:(NSString *)animationID finished:(NSNumber *)finished context:(void *)context
{
}
//animation start
- (void)animationWillStart:(NSString *)animationID context:(void *)context
{
}