现在的位置: 首页 > 综合 > 正文

ios 异步加载图片的框架(SDWebImage)

2013年10月27日 ⁄ 综合 ⁄ 共 231字 ⁄ 字号 评论关闭

网址: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.istar.name/...."]];

抱歉!评论已关闭.