Best way to transition between two images in a UIImageView
<p>I implemented a pretty simple picture viewer that will allow the user to browse through a collection of images. They are loaded from the internet, and displayed on the device through a UIImageView object. Something like this:</p>

<pre><code>UIImage *image = [[UIImage alloc] initWithData:imageData];
[img setImage:image];
</code></pre>

<p>imageData is an instance of NSData that I use to load the contents of the image from an URL, and img is the UIImageView instance.</p>

<p>It all works well, but the new image replaces the one being displayed before without any transitions, and I was wondering if there is an easy way to do a good animation transition to improve the user experience.</p>

<p>Any ideas on how to do this? Code samples would be very appreciated.</p>
