I have a problem I do not understand, with the storyboard.
I would like to change a UIImageView from another controller:
ViewController 1:
Quote:
ViewController2 * = hvc [self.storyboard instantiateViewControllerWithIdentifier: @ "hvc"];
[hvc load background];
|
ViewController 2:
Quote:
- {(Void) load background
[backroundImage setImage:appDelegate.background];
or:
[backroundImage setImage:nil];
}
|
The problem is, he does not change the picture. it remains as it was. Even if I set it to nil, it is not responding.
With instantiateViewControllerWithIdentifier he also finds the correct controller, but nothing happened. A bug in the storyboard? Did any of you an idea?