views:

227

answers:

3

I changed a .png that I was using for an UIIMageView that I added using InterfaceBuilder. Now, when I run the app in the simulator, the image does not show. I have tried removing the reference and re-adding and even creating a new image altogether and nothing seems to work.

PLEASE HELP!!!!!!!

A: 

If your .png has the same name as previous, IB doesn't recompile it's files. Try to clean your project, than build it.'

Morion
I tried cleaning the project several times with no luck.
Kevin McFadden
A: 

Did you make sure your connections are intact in Interface builder?

Prakash
I actually rebuilt the NIB from scractch and re-attached all of the connections. I even copied the /png file to a new name and added it to the new UIIMageView. No luck.
Kevin McFadden
ok..i've had one weird moment with UIImageView once. Could you please check in Interface Builder, UIImageView's image section, can you see/select the image which you wanted?? For a while i couldn't.. But then it worked after i removed the image and re-added..
Prakash
A: 

I'm having the same problem now. Try to build and run your project from XCode. I did that and it showed all the background (and other) UIImageViews just fine. When I simulate the interface from Interface Builder, the backgrounds still do not show up, but it's a usable workaround for now.

Niels Heidenreich