title: How to get a color image in iPhone sdk
body: <p>I want something as follows</p>
  
  <pre><code>UIImage *solid = [UIImage imageWithColor:[UIColor darkGrayColor]];
  </code></pre>
  
  <p>to create an image with respect to some color.</p>
  
  <p>how to do it in iPhone sdk. </p>