摘要:
创建文件夹NSString *imageDir = [NSString stringWithFormat:@"%@/Caches/%@", NSHomeDirectory(), dirName];BOOL isDir = NO;NSFileManager *fileManager = [NSFileManager defaultManager];BOOL existed = [fileManager fileExistsAtPath:imageDir isDirectory:&isDir];if ( !(isDir == YES && existed 阅读全文