List saved files in iOS documents directory in a UITableView?
Here is the method I use to get the content of a directory. -(NSArray *)listFileAtPath:(NSString *)path { //—–> LIST ALL FILES <—–// NSLog(@”LISTING ALL FILES FOUND”); int count; NSArray *directoryContent = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:path error:NULL]; for (count = 0; count < (int)[directoryContent count]; count++) { NSLog(@”File %d: %@”, (count + 1), [directoryContent objectAtIndex:count]); } return … Read more