iOS 判断项目中是否有某个文件
作者:
隔墙送来秋千影 | 来源:发表于
2020-08-12 17:30 被阅读0次//判断项目中是否有某个文件
NSString *resPath= [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"vehicle_which.pb"];
if(resPath) {
}
//判断Document中是否有某文件
NSString *docPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject];
NSString *resPath = [docPath stringByAppendingPathComponent:@"face_keypoint.pb"];
if(resPath) {
}
本文标题:iOS 判断项目中是否有某个文件
本文链接:https://www.haomeiwen.com/subject/hmzpdktx.html
网友评论