检测文件是否存在

BOOL fileExists = [[NSFileManager defaultManager] fileExistsAtPath:somePath];

猜你喜欢

转载自wang-peng1.iteye.com/blog/1768564