title: iPhone : How to set BackgroundColor of UIButton with buttonType UIButtonTypeCustom
body: <p>i want to change the button color when it is clicked. I used :</p>
  
  <pre><code>[button setBackgroundColor:[UIColor redColor]];
  </code></pre>
  
  <p>but this shows red color only on the four corners of button not on the whole button and also when i use <code>forState:UIControlStateNormal</code> then the application hangs.
  Is their any way to show some color on button when clicked? </p>
  
  <pre><code>[click1 setBackgroundColor:[UIColor redColor] forState:UIControlStateHighlighted];
  </code></pre>
  
  <p>Any help will be appreciated.</p>