Quote:
Originally Posted by trilithium
I click on a button which should diplay a new view with a larger version of the image on the button - When I run the simulator, the first button press always results in an image not being displayed in the new view - However if I go back and click on the same button (or indeed another button) for all subsequent clicks, the correct image is displayed.
|
is selectSlideView.imageView loaded from a nib? if so, that's the problem. the view isn't loaded the first time through.
try putting
[selectSlideView view];
before setting the imageview to force the nib loading to happen.