IPhone application document file list

Is there a way to get the file names in the document folder of the iPhone application? How do you do this?

+4
source share
1 answer
NSFileManager *manager = [NSFileManager defaultManager]; NSArray *fileList = [manager directoryContentsAtPath:documentsDirectory]; for (NSString *s in fileList){ NSLog(s); } 
+12
source

All Articles