directoryContent = [[NSFileManager defaultManager] directoryContentsAtPath:strDirectory];
上面这个方法也过时了,要用下面这行代码:
directoryContent = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:strDirectory error:NULL];
directoryContent = [[NSFileManager defaultManager] directoryContentsAtPath:strDirectory];
上面这个方法也过时了,要用下面这行代码:
directoryContent = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:strDirectory error:NULL];