开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜