1.先初始化一个UIImageView的视图窗口 如:anima UIImageView *anima = [UIImageView alloc]initWithFrame(0,0,100,100);2.animationImage 设置一个 UIImageView播放的动态数组 anima.animationImage = imageList();3. animationDuration 设置一组动画需要的时间 anima.animationDuration = 1;(为-1时是一直播放) 4.animationRepeatCount 设置需要播放的次数 anima.animationRepeatCount = 4;5.startAnimating 让动画开始 [anima startAnimating];6.stopAnimating 让动画停止 [anima stopAnimating];7.isAnimating 判断动画是否正在播放 anima.isAnimating = YES;