首页 > 代码库 > SDWebImage缓存

SDWebImage缓存

缓存图片方法

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

读取缓存

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


SDWebImage缓存