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];
本文出自 “ZhuoKing” 博客,转载请与作者联系!
原文地址:http://9951038.blog.51cto.com/9941038/1745640