Image not showing in UIImageView in Interface Builder / iPhone

Posted by dbonneville on Stack Overflow See other posts from Stack Overflow or by dbonneville
Published on 2010-04-16T03:15:57Z Indexed on 2010/04/16 3:23 UTC
Read the original article Hit count: 786

I have a UIView with an UIImageView dragged onto the view. All of a sudden, for all my xibs, the image no longer shows up. There is a blue X. However, when it builds, the image is there.

At one point, I deleted and regenerated all my images and moved some into a subfolder in XCode. Normally, when you go to select an image for an UIImageView, IB allows you to pick from any image in the project. But, I can't see any of the images I had put in the folder anymore in the dropdown.

All I see in the dropdown on the Inspector is the one image I want, but that is also the one that is not showing up. And like I said, if I build it on the device or simulator, it all works.

There is some cache or something screwed up somewhere. Everything builds with no errors. I cleared the caches and rebuilt. It all works. No error or warnings. But...I can't see any other images and IB still thinks it's missing the image that is clearly selected in the dropdown.

So how do I get XCode and IB back on track and see what assets it properly should be seeing in the XIBs?

© Stack Overflow or respective owner

Related posts about interface-builder

Related posts about xcode