2011-05-20 103 views

回答

7

大多数文件操作都是通过NSFileManager类完成的。要创建新的目录,使用这种方法:

-[NSFileManager createDirectoryAtPath:withIntermediateDirectories:attributes:error:] 

苹果文档的位置:Apple reference docs -createDirectoryAtPath

相关问题