[UIView animateWithDuration:...]
在修改了自动布局的约束之后,执行下面代码实现动画效果 [UIView animateWithDuration:1.0 animations:^{
[添加了约束的view layoutIfNeeded];
}];
CABasicAnimation
CAKeyframeAnimation帧动画
CATransition转场动画(UIView也有转场动画)
CAAnimationGroup组动画
UIImage *image=[UIImage animatedImageWithImages: duration:];
原文地址:http://blog.csdn.net/ben_xiao_hai/article/details/44014451