title: Gradients on UIView and UILabels On iPhone
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/227005/manually-drawing-a-gradient-in-iphone-apps">Manually drawing a gradient in iPhone apps?</a>  </p>
  </blockquote>
  
  
  
  <p>My application needs to display text in either a <code>UIView</code> or <code>UILabel</code> but the back ground must be a gradient as opposed to a true <code>UIColor</code>. Using a graphics program to create desired look is no good as the text may vary depending on data returned from a server.</p>
  
  <p>Does anyone know the quickest way to tackle this?
  Your thoughts are greatly appreciated.</p>