UIImageView帧动画相关属性和方法

@property(nonatomic,copy) NSArray *animationImages; 需要播放的序列帧图片数组(里面都是UIImage对象,会按顺序显示里面的图片)

@property(nonatomic) NSTimeInterval animationDuration;帧动画的持续时间

@property(nonatomic) NSInteger animationRepeatCount; 帧动画的执行次数(默认是无限循环)

- (void)startAnimating;开始执行帧动画

- (void)stopAnimating;停止执行帧动画

- (BOOL)isAnimating;是否正在执行帧动画

原文地址:https://www.cnblogs.com/lifengfneg/p/4773812.html