Is there a way to get the filenames of the files in an iPhone application's document-folder? How do you do that?
+5
A:
NSFileManager *manager = [NSFileManager defaultManager];
NSArray *fileList = [manager directoryContentsAtPath:documentsDirectory];
for (NSString *s in fileList){
NSLog(s);
}
ennuikiller
2009-09-16 14:56:57
Thank you very much!
quano
2009-09-16 14:59:26
your very welcome!
ennuikiller
2009-09-16 15:03:28