I'm using custom buttons images...it looks fine in Interface Builder but when I run it I don't see it and get this message.
Could not load the "buttonup.png" image referenced from a nib in the bundle with identifier "com.yourcompany.Test"
Did you import (drag) that file into your project in xcode? Also I believe the file names are case sensitive, so are you sure it is names "buttonup.png" and not "buttonUp.png" or something?
Go Xcode > Empty Caches
Then Build > Clean All Targets
Let me know if it works
yeh i got the problem to :/
and..
no that doesnt work
EDIT: werid just tried to open the file with photoshop and it couldn't:
![]()
weird photoshop bug.. :/ so maybe 'clean all targets' might work for some
if you have created a custom button type in interface builder and assigned a image to that button, IB automatically assigns that image to all the button states Default, Hightlighted, Selected and Disabled...
So if you happen to delete that image from the project, IB will think it has gone missing from each of those states, in order to get rid of the warning one needs to re-assign the correct image for each state for which it was assigned (not just the default one you thought you assigned it to).
-Ben