title: Image not displaying in a UIImageView
body: <p>I've added a UIImageVIew to my view and if I specify the image to use within IB then it gets displayed correctly, but if I instead try to add the image programatically then it doesn't display. </p>
  
  <p>I cleared out the image to load from IB and added the following code:</p>
  
  <pre><code>- (void)viewDidLoad
  {
      [super viewDidLoad];
      UIImage* image = [UIImage imageNamed:@"pic1.png"];
      UIImageView *iv = [[UIImageView alloc] initWithImage: image];
      iv.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
      iv.contentMode = UIViewContentModeCenter;
      self.slideshowView = iv;
  }
  </code></pre>
  
  <p>self.slideshowView is an outlet connected to the image view.</p>
  
  <p>I can confirm that image and iv are both non null when it executes.</p>