NSBundle and Accessing Folder inside Resources Folder
I have Images folder inside the Resources folder which contains images. I am using the following code to access the images but the resultant array always comes out to be empty:
开发者_运维技巧NSArray *imagesPath = [bundle pathsForResourcesOfType:@"gif" inDirectory:@"Images"];
Am I missing something??
If you do [[NSBundle mainBundle] pathForResource:@"Images" ofType:nil]
do you get the correct path for that folder?
If not are you sure that is a folder and not a simple group?
精彩评论