I have an IBOutlet to a UIImageView, but when I look at the UIImageView doc, I can\'t see any hints about programmatically changing it
IBOutlet
UIImageView
My problem was that I tried to change the image in an other thread. I did like this:
- (void)changeImage { backgroundImage.image = [UIImage imageNamed:@"img.png"]; }
Call with:
[self performSelectorOnMainThread : @selector(changeImage) withObject:nil waitUntilDone:NO];