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];
本文转自 卓行天下 51CTO博客,原文链接:http://blog.51cto.com/9951038/1745640,如需转载请自行联系原作者