title: How can I prevent Xcode from changing the color of my buttons?
body: <p>So I've done a button for my iPad app, and I saw something strange. When I run my app in the iOS 5 simulator, it changes the color, and the lines of my button become discontinuous. But when I push it, the button comes back to the right color, and the lines are ok. I think it's something that Xcode does automatically with any button, and I don't find the way to cancel it. Thank you for helping!</p>
  
  <p>PS: The button code is so simple:</p>
  
  <pre><code>IBOutlet UIButton *button;
  </code></pre>
  
  <p>This is what it should look like:</p>
  
  <p><img src="https://i.stack.imgur.com/sfV20.png" alt="enter image description here"></p>
  
  <p>And this is how it looks in the simulator:</p>
  
  <p><img src="https://i.stack.imgur.com/buKgU.png" alt="enter image description here"></p>