title: How to disable UIButton Tint Color?
body: <p>I know my case may be rare but how do you disable the UIButton tint colour in this case?</p>
  <p>I have a customised UIButton which has attributedTitle to help display the button pattern in different colour and alpha.</p>
  <p><img src="https://i.stack.imgur.com/B5WCw.png" alt="enter image description here" /></p>
  <p>In my customised button .m file I have set something like this</p>
  <pre><code>[self setBackgroundImage:[self imageWithColor:[UIColor grayColor]] forState:UIControlStateSelected];
  </code></pre>
  <p>which will make the background colour to gray when the button is selected</p>
  <p>However the real result looks like this:</p>
  <p><img src="https://i.stack.imgur.com/QeJz5.png" alt="enter image description here" /></p>
  <p>Some how the text colour gets turned into white which I think is because of the tint effect on UIButtons.</p>
  <p>Is that possible for me to have the background as grey while the text still remain the colour as set in the attributed title on selected state of the button?</p>
  <p>Thanks</p>