title: UIImage view does not display the image
body: <p>I'm having a few issues with displaying a UIImage in an app that I'm developing. The steps I took to do this are as follows:</p>
  
  <p>1 - Add a UIImageView to my main view controller in the storyboard. I did this using the interface builder.</p>
  
  <p>2 - I then created an IBOutlet for the UIImageView in the viewcontroller.h. I ensured proper referencing of the image view from the outlet. </p>
  
  <p>3 - I set the image for the UIImageView like so:</p>
  
  <pre><code>_fireIcon = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"flame_icon.png"]];
  </code></pre>
  
  <p>This was done within the viewDidLoad method in the viewcontroller.m file. </p>
  
  <p>Troubleshooting:</p>
  
  <ul>
  <li>I checked whether the _fireIcon variable is being set. It is. </li>
  <li>I checked whether the viewDidLoad method is being called. It is. </li>
  <li>In addition, the image is displayed when I statically set it via the storyboard itself. But when I do it via code, it does not display. </li>
  </ul>
  
  <p>Let me know if you need any more additional information, or code snippets. </p>