title: How to set image to UIImage
body: <p>How can I set image to <code>UIImage</code> object.
  For example:</p>
  
  <pre><code>UIImage *img = [[UIImage alloc] init];
  [img setImage:[UIImage imageNamed:@"anyImageName"]];
  </code></pre>
  
  <p>My <code>UIImage</code> object is declared in <code>.h</code> file and allocated in <code>init</code> method, I need to set image in <code>viewDidLoad</code> method.
  Any ideas?</p>