GCD下载后清除缓存

//GCD下载后清除缓存
1
—(void)didReceiveMemoryWarning{ 2 [super didReceiveMemoryWarning]; 3 //清除缓存 4 [self.cache removeAllObjectds]; 5 //取消下载 6 [self.queue cancelAllObjects]; 7 [self.downloading removeAllObjects]; 8 }

 

 
posted @ 2013-08-03 14:36  wangzhenxiang  阅读(95)  评论(0编辑  收藏  举报