Rup*_*esh 0 iphone
我是iPhone编程的新手.检查文件是否存在的正确方法是什么?
小智 6
BOOL isDirectory = NO; if ( [[NSFileManager defaultManager] fileExistsAtPath:path isDirectory: &isDirectory ]) { // file already exists } else { // file does not yet exist }
归档时间:
17 年,2 月 前
查看次数:
848 次
最近记录:
14 年,6 月 前