iOS 网络GIF加载第三方库对比
SDWebImage库自带的gif图加载方法
UIImageView *sdimageView = [[UIImageView alloc]init];
[sdimageView sd_internalSetImageWithURL:[NSURL URLWithString:@"https://i.pinimg.com/originals/07/44/38/074438e7c75034df2dcf37ba1057803e.gif"] placeholderImage:nil options:0 context:nil setImageBlock:^(UIImage * _Nullable image, NSData * _Nullable imageData, SDImageCacheType cacheType, NSURL * _Nullable imageURL) {
[sdimageView setImage:[UIImage sd_imageWithGIFData:imageData]];
} progress:^(NSInteger receivedSize, NSInteger expectedSize, NSURL * _Nullable targetURL) {
} completed:^(UIImage * _Nullable image, NSData * _Nullable da