解决方案 »
- IPhone 窗口不能旋转请问 该怎么解决
- iphone windows-based application 与view-based application的区别
- iphone 如何时时检查gprs数据流量
- 自定义cell中有一个button按钮,按下按钮的同时如何获得该按钮所在的行的row值
- 关于三级联动picker
- 测试程序一打开就闪退
- iOS中tableViewCell中如何嵌套collectionView,并实现collectionView界面跳转
- oc中点击button弹出新页面,纯代码怎么实现[100分求]
- XCode6 Archive 出错~,大侠们 ,SOS .
- iOS present 一个半透明控制器,结果控制器上所以得View全是半透明了,怎么回事
- 苹果推新编程语言swift大家怎么看
- swift资料
措施名称 描述
-(NSData *)contentsAtPath:path 从path所代表的文件中读取数据
-(BOOL)createFileAtPath:path contents:(BOOL)data attributes:attr 将数据写入文件
-(BOOL)removeFileAtPath:path handler:handler 将path所代表的文件删除
-(BOOL)movePath:from toPath:to handler:handler 移动或者重命名文件,to所代表的文件不能是已经存在的文件
-(BOOL)copyPath:from toPath:to handler:handler 复制文件,to所代表的文件不能是已经存在的文件
-(BOOL)contentsEqualAtPath:path1 andPath:path2 比较path1和path2所代表的文件
-(BOOL)fileExistsAtPath:path 检查path所代表的文件是否存在
-(BOOL)isReadableFileAtPath:path 检查path所代表的文件是否存在、是否可读
-(BOOL)isWritableFileAtPath:path 检查path所代表的文件是否存在、是否可写
-(NSDictionary *)fileAttributesAtPath:path traverseLink:(BOOL)flag 获取path所代表的文件属性
-(BOOL)changeFileAttributes:attr atPath:path 改变文件属性