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];