title: UIButton adjustsImageWhenHighlighted Property With Background Color
body: <p>I have a set of buttons on a view controller that are added to the .xib and their properties are adjusted programmatically.  </p>
  
  <p>The background color is set in code as follows and then when it is tapped I change the background color using a selector method.</p>
  
  <p>in configureButtons method:</p>
  
  <pre><code>[btn addTarget:self action:@selector(changeButtonBackGroundColor:) forControlEvents:UIControlEventTouchDown];
  </code></pre>
  
  <p>which calls the following:</p>
  
  <pre><code>-(void) changeButtonBackGroundColor:(id) sender {
      [sender setBackgroundColor:[UIColor colorWithRed: 199/255. green: 95/255. blue: 45/255. alpha:1.0]];
  }
  </code></pre>
  
  <p>Adjusting the background when touched programmatically works fine when the "Highlight Adjusts Image" property is set to YES but it shows the white glow when touched as well as changing the background color.</p>
  
  <p>I don't want to see the white highlight when the button is touched so I turned off the property.  This causes the background color change to stop working.</p>
  
  <p>Is there a way to change the background color of a UIButton without also showing the white glowing highlight when touched?</p>