网络请求图片 SDWebImage

SDWebImage


主页:https://github.com/rs/SDWebImage
1.下载下来放到project里面
2. 添加:MapKit.framework
3. #import “UIImageView+WebCache.h”
4. 使用:

UIImageView *asyncImage = [UIImageView alloc]init];

[asyncImage setImageWithURL:[NSURL URLWithString:@"www...."]];


你可能感兴趣的:(网络请求图片 SDWebImage)