flip动画前后转3D功能
更新:HHH   时间:2023-1-7


flip动画前后转3D功能

CATransition *animation = [CATransition animation];

        animation.duration = 1.5;

        [animation setTimingFunction:[CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut]];

        animation.type = @"oglFlip";

        animation.subtype = kCATransitionFromRight;

        [weakself.coverImageView.layer addAnimation:animation forKey:nil];


返回开发技术教程...