Question about bundles and file access.
I've adding a series of folders to my project (using the Add existing file option). This results in the folder contents being shown in Xcode as a blue folder.
The following works:
NSString *imageName = [NSString stringWithFormat:@"/File-03/images/image-%02d.jpg", imageIndex];
return [UIImage imageNamed:imageName];
However, I want to switch to using imageWithContentsOfFile so the images are not cached.
The code below returns nil for the image:
return [UIImage imageWithContentsOfFile:[NSString stringWithFormat:@"/File-03/images/image-%02d.jpg", imageIndex]];
I also tried accessing the imageWithContentsOfFile using a bundle, no go.
What am I missing here?
Thanks!