title: Can't display UIImage in UIImageView
body: <p>i want to display an UIImage within a UIImageView but it doesn't work and i don't know why.
  could you please help me.</p>
  
  <p>i am using the following coding:</p>
  
  <pre><code> -(void) showCorrectedImage {
  
   MyAppDelegate *delegate = (MyAppDelegate *)[[UIApplication sharedApplication] delegate];
   CorrectedImageController *imageController = [[CorrectedImageController alloc] initWithNibName:@"CorrectedImageView" bundle:nil];
   UIImageView *imgView = [[UIImageView alloc] initWithImage:originalImage];
  
   imageController.imageView = imgView;
  
   [imgView release];
   [delegate.navController pushViewController:imageController animated:YES];
  
  }
  </code></pre>
  
  <p>There is a xib file called "CorrectedImageView.xib" and within the xib i have placed an UIImageView. I have connected the UIImageView outlet with the image view and the view outlet with the view.
  original Image is defined as UIImage and initialized with a file.</p>
  
  <p>br.,
  martin</p>