title: Best way to transition between two images in a UIImageView
body: <p>I have 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 <code>UIImageView</code> object. Something like this:</p>
  
  <pre><code>UIImage *image = [[UIImage alloc] initWithData:imageData];
  [img setImage:image];
  </code></pre>
  
  <p><code>imageData</code> is an instance of <code>NSData</code> that I use to load the contents of the image from an URL, and <code>img</code> is the <code>UIImageView</code> 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 idea how to do this? Code samples would be very appreciated.</p>