缓存图片方法
[[SDImageCache sharedImageCache] storeImage:myImage forKey:myCacheKey];
读取缓存
UIImage *myCachedImage = [[SDImageCache sharedImageCache] imageFromKey:myCacheKey];
时间: 2024-12-28 22:14:52
缓存图片方法
[[SDImageCache sharedImageCache] storeImage:myImage forKey:myCacheKey];
读取缓存
UIImage *myCachedImage = [[SDImageCache sharedImageCache] imageFromKey:myCacheKey];