ios中uiview 转场动画

//转场动画1--头尾
-(void)TransitionAnimation1{
    [UIView beginAnimations:nil context:nil];
    [UIView setAnimationDuration:0.5];
    [UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:self.view cache:YES];
    [UIView commitAnimations];
}

//转场动画-block
-(void)TransitionAnimation2{
    [UIView transitionWithView:_lastview duration:0.5 options:UIViewAnimationOptionTransitionCurlUp animations:^{
        
    } completion:^(BOOL finished) {
        
    }];
}
原文地址:https://www.cnblogs.com/gcb999/p/3189679.html