FM = [NSFileManager defaultManager];
directoryContents = [FM contentsOfDirectoryAtPath:@"/Users/myComputer/Library/Application Support/iPhone Simulator/4.3/Applications/CD88649C-E545-4E10-84DF-F4E5D829641B/Documents" error:NULL];
but it gives me object not the path for object.
I found out how to read files stored in directory. By using:
It returns the file or folder name stored at that location. Then we can again append these names in a string to read these files.