+(BOOL) FileExist:(NSString*)pFile
{
BOOL isDir = NO;
NSFileManager *fileManager = [NSFileManager defaultManager];
return[fileManager fileExistsAtPath:pFile isDirectory:&isDir];
}
+(BOOL) FileExist:(NSString*)pFile
{
BOOL isDir = NO;
NSFileManager *fileManager = [NSFileManager defaultManager];
return[fileManager fileExistsAtPath:pFile isDirectory:&isDir];
}
本文标题:IOS查看文件是否存在
本文链接:https://www.haomeiwen.com/subject/liqlettx.html
网友评论