序列帧动画一般使用步骤:
//0、判断图片是否已加载
if (self.annimImg.isAnimating){
return;
}
//1、设置动画数组
self.annimImg.animationImages = imageArray;
//2.设置播放次数(1次)
self.annimImg.animationRepeatCount = 1;
//3.设置播放时间
self.annimImg.animationDuration = count * 0.06;
[self.annimImg startAnimating];
//4.动画放完后清除内存
[self performSelector:@selector(showAnomotionWithCount:animotionName:) withObject:nil afterDelay:1];