i need to get all files in a directory, including all sub directories and all files in each subdirectory. in objective C, i have try to use this method
[[NSFileManager defaultManager] contentsOfDirectoryAtPath:filePath error:nil]
but it just give me an array of contents file in directory filePath, i cant get all files in the sub directory, can somebody help me??
thank you
you can call this function which will log all the files in the directory, hope this will help.