image view doesn't display the image

Image view doesn't display my image when I run the app. I've tried it with several different images and projects. But I don't understand what is wrong. When I run the app this message shows up in the Output area: "Could not load the "11.gif" image referenced from a nib in the bundle with identifier "com.soheil.Animation". Any thoughts?

Replace the 11.gif by a 11.png.


Please tell if that works.

It did replace it with 11.png. But still doesn't work.

When juggling images, as an example, always be sure to use Xcode's Product menu w/the option key pressed, choosing to 'clean build folder' to force Xcode to forget about the old asset(s).

Might try resizing the image outside of Xcode and try again. Don’t know if it a bug, but I seem to have same issue and if I shrink the image down using Snagit, it displays. Don’t know the ex@ct reason.

Make sure your image is a part of the assets for the right bundle if you have multiple targets.

image view doesn't display the image
 
 
Q