SDWebImage缓存

来源:互联网 发布:深圳it程序员工资多少 编辑:程序博客网 时间:2024/06/06 21:38

缓存图片方法

[[SDImageCache sharedImageCache] storeImage:myImage forKey:myCacheKey];

读取缓存

UIImage *myCachedImage = [[SDImageCache sharedImageCache] imageFromKey:myCacheKey];


1 0