iphone-怎么在Documents 目录下创建子目录

iphone-如何在Documents 目录下创建子目录?NSString *path [[NSHomeDirectory() stringByAppendingPathC

iphone-如何在Documents 目录下创建子目录

?NSString *path = [[NSHomeDirectory() stringByAppendingPathComponent:@"Documents"] stringByAppendingPathComponent:@"badge"];
? [[NSFileManager defaultManager] createDirectoryAtPath:path withIntermediateDirectories:YES attributes:nil error:nil];
????NSString *result = [path stringByAppendingPathComponent:file];
????
? ?