How to animate the change of image in an UIImageView?

Posted by mystify on Stack Overflow See other posts from Stack Overflow or by mystify
Published on 2010-05-14T13:45:03Z Indexed on 2010/05/14 14:04 UTC
Read the original article Hit count: 175

Filed under:

I have an UIImageView with an image. Now I have a completely new image (graphic file), and want to display that in this UIImageView. If I just set

myImageView.image = newImage;

the new image is visible immediately. Not animatable.

I want it to nicely fade into the new image. I thought maybe there's a better solution than just creating a new UIImageView on top of that and blending with animation?

© Stack Overflow or respective owner

Related posts about iphone