GCD下载后清除缓存

//GCD下载后清除缓存
1
—(void)didReceiveMemoryWarning{ 2 [super didReceiveMemoryWarning]; 3 //清除缓存 4 [self.cache removeAllObjectds]; 5 //取消下载 6 [self.queue cancelAllObjects]; 7 [self.downloading removeAllObjects]; 8 }
 
原文地址:https://www.cnblogs.com/wangshengl9263/p/3234603.html