 <p>You can do this with few simple lines of code</p> <pre><code>NSString *documentDirectoryPath = // Initialize with Documents path BOOL isDir = NO; NSFileManager *fileManager = [NSFileManager defaultManager]; NSArray *files = [fileManager contentsOfDirectoryAtPath:documentDirectoryPath error:NULL]; NSMutableArray *directoriesPaths = [NSMutableArray array]; for (NSString *filePath in files) { if ([fileManager fileExistsAtPath:filePath isDirectory:&amp;isDir] &amp;&amp; isDir) { [directoriesPaths addObject:filePath]; } } NSLog(@"directories %@", directoriesPaths); </code></pre>