iOS开发之清除缓存

NSFileManager *mgr = [NSFileManager defaultManager];rem

NSString *cachePath =ast

[NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES) lastObject];error

[mgr removeItemAtPath:cachePath error:nil];arc

相关文章
相关标签/搜索