Getting Images List using bundle
I am using this code to get the list of Images in my project
NSArray *pngPaths = [[NSBundle mainBundle] pathsForResourcesOfType:@"png" inDirectory:nil];
I dont want to get one image开发者_如何转开发 from the list can i add filter to it
Thank You
I think it is easier to do when you already load all paths into your memory NSArray. You can just loop over all elements and examine the path and remove paths you don't want
精彩评论