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,如需轉載請自行聯系原作者