Images.xcassets
copies all the images in bundle, and it mixes up with other images, better follow the instructions in image below
By adding the folder with the option Create folder reference
will actually create a folder in main bundle with its content, and all your images will be separated. And using the following code you can access all the images.
NSString *dirPath = [[[NSBundle mainBundle] bundlePath] stringByAppendingPathComponent:@"images"];
NSError * error;
NSArray * images = [[NSFileManager defaultManager]
contentsOfDirectoryAtPath:dirPath error:&error];
Hope it helps.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…