摘要: 1、常见的NSFileManager文件方法-(NSData *)contentsAtPath:path //从一个文件读取数据-(BOOL)createFileAtPath: path contents:(NSData *)data attributes:attr //向一个文件写入数据-(BOOL)removeItemAtPath:path error:err //删除一个文件-(BOOL)moveItemAtPath:from toPath:to error:err //重命名或者移动一个文件(to不能是已存在的)-(BOOL)copyItemAtPath:from toPath... 阅读全文
posted @ 2013-01-21 21:31 gagag 阅读(23047) 评论(0) 推荐(4) 编辑