I am trying to return the list of directories present in an app\'s Documents directory. I am able to get an array containing all files of a given extension (eg .txt files or .pn
Mrueg wrote it all but one thing that
fileList = [[fM directoryContentsAtPath:DOCUMENTS_FOLDER];
Replace by
fileList = [fileManager contentsOfDirectoryAtPath:filePath error:nil];