title: landscape mode images in a full screen UIImageView
body: <p>Is it possible to let the UIImageView handle landscape images differently from portrait images?  </p>
  
  <p>I'll try to explain, I have <code>ImageViewController</code> with a <code>UIImageView</code> that fill the entire screen.<br>
  In some point the user launch a <code>UIImagePickerController</code> and choose a picture from the camera roll.<br>
  Then I create an instance of the <code>ImageViewController</code> with that picture and push it   </p>
  
  <pre><code>- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
  {
      UIImage *image = [info objectForKey:UIImagePickerControllerOriginalImage];
  
  
      ImageViewController *ivc = [[ImageViewController alloc] initWithImage:image];
      [picker pushViewController:ivc animated:YES];
      [ivc release];
  }
  </code></pre>
  
  <p>The problem is, if the image is in landscape mode, it still fill the entire screen.<br>
  I want it to look like how the iPhone photos app present a landscape image (in the center of the screen with a black background).  </p>
  
  <p>Is there a build in way to show landscape mode images in UIImageView? or do I need to set the imageView frame according to the image orientation?</p>