I created a bundle with name applausible.bundle, i placed the bundle in supporting files.This is my code
NSBundle* myBundle;
myBundle = [NSBundle bundleWithPath:@"/Library/applausible.bundle"];
NSString *path = [myBundle pathForResource:@"splash.png" ofType:nil];
[imageName setImage:[UIImage imageNamed:path]];
Here I am unable to display the image on the image view. Another way I tried like this I place the image on the image view using xib,while running the app. The output is coming like this in console
Could not load the “splash_screen high resolution.png” image referenced from a nib in the bundle with identifier “com.xxxxxxx.ImageSample”. Can any one tell me where i made a mistake.Finally my goal is to display the image on the UIImageview which is in external bundle.
This may help you.
please try it out.