i\'m trying to get an array of all png files in a subdirectory of the Resources Folder. In my apps Resources Folder I have created a Folder named \"images\". This folder hol
Just solved it.
NSBundle *mainBundle = [NSBundle mainBundle];
NSArray *pngs = [mainBundle pathsForResourcesOfType:@".png"
 inDirectory:@"random pictures"];
 NSLog(@"pngs in my dir:%@", pngs);
dir structure: "Resources/random pictures".
This works, BUT, when you add the files to 'Resources', you need to check "Create folder references for any aded folders", and NOT "Create groups for any added folders".

Cheers!