📜  ios 以编程方式清除应用程序缓存 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:55.877000             🧑  作者: Mango

代码示例1
[streamingOperation setCacheResponseBlock:^NSCachedURLResponse *(NSURLConnection *connection, NSCachedURLResponse *cachedResponse) {
    return nil; // Ensures we are not unecessarily caching asset data to Cache.db
}];