As far as I can tell, UIImageView
s in XIBs don't use +imageNamed
. I also tried +imageWithContentsOfFile
, but that was no dice also.
Which UIImage method do Interface Builder XIBs use to load images in ImageView
s?
As far as I can tell, UIImageView
s in XIBs don't use +imageNamed
. I also tried +imageWithContentsOfFile
, but that was no dice also.
Which UIImage method do Interface Builder XIBs use to load images in ImageView
s?
See the link given below, it will might help you. Most probably 3rd Answer will help you,
How can I change the image displayed in an UIImageView programmatically?
the last method shoud be fired when you set image in XIB
[YOURCONTROLLER.imageToDisplay setImage:[UIImage imageNamed:value]];