iphone refresh images UIImageView

Posted by Rick on Stack Overflow See other posts from Stack Overflow or by Rick
Published on 2009-06-17T13:01:29Z Indexed on 2010/12/25 3:54 UTC
Read the original article Hit count: 237

Filed under:
|

I have a rather basic question. I have several(5) UIImageView images on my screen. When I click a button, I want to change each image to something else. I also want to play a sound as each image is changed.

So I basically want a clicking sound as each image changes.

The problem is, for some reason if I have say 5 images,
the sound gets played 5 times first and then the images change.

It's like the images only refresh when control goes back to the user for input.

How can I "force" it to refresh the images as soon as i tell it what image to display?

I'm new to the iphone/macworld, so go easy on me :-)

Rick

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uiimageview