UIImage加载gif图片
2015-12-01 本文已影响976人
默默默默摸鱼儿
UIImage*image= [UIImageimageNamed:@"loadingfish.gif"];
_fetureLodingImg.image = image;
NSArray*loadingArray= image.images;
_fetureLodingImg.animationImages= loadingArray;
_fetureLodingImg.animationDuration=1;//执行一次完整动画所需的时长
_fetureLodingImg.animationRepeatCount =0;//动画重复次数