如何清除缓存图像? [英] How to clear cache image?

查看:126
本文介绍了如何清除缓存图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Three20捆绑创建了缩略图视图。我已成功加载并在视图中显示图像。现在我想清除缓存图像,因为每次它只显示以前缓存的图像而不是更新的或最新的图像。所有图片都是从RSS Feed中检索的。

I have created thumbnail view using Three20 bundle. I have successfully loaded and displayed the images in the view. Now i want to clear the cache images because everytime it shows only the previously cached image and not the updated or latest image. All images are retrieved from the RSS feed.

请帮帮我。

谢谢。

推荐答案

[[TTURLCache sharedCache] removeAll:YES];

这篇关于如何清除缓存图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆