笔记:iOS动画

版权声明:本文为博主原创文章,未经博主允许不得转载。 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
{

}

猜你喜欢

转载自blog.csdn.net/zhdzxc123/article/details/76792212