序列帧动画
方式1:
- self.imageView.animationImages = array; // 装图片的数组(需要做动画的图片数组)
- self.imageView.animationDuration = 2; // 动画时间
- self.imageView.animationRepeatCount = 1; // 重复次数 0 表示重复
- [self.imageView startAnimating]; // 开始序列帧动画
方式2:-[UIImage animatedImageWithImages:**动画图片数组** duration:**持续时间**];
// 可以获取一个能做动画的UIImage对象"gif图片"