3

I can't find any other question on how to prevent this, and nothing I've tried is working perfectly.

I want to make it so the title color of the text on my button is ALWAYS white (I will do some other styling to make this look good still).

But, every time I press on the button, the title color changes from white to grey. How can I stop this? Preferably in the storyboard file instead of programmatically.

Images for illustration:

Not pressed:

enter image description here

Pressed:

enter image description here

Michael Yaworski
  • 13,410
  • 19
  • 69
  • 97

1 Answers1

6

Select -> Type: Custom in Attributes ispector

enter image description here

Matteo Serpentoni
  • 553
  • 1
  • 7
  • 19
  • @mikeyaworski I don't think so. You can't expect a standard button to behave in a 'special' way, so it has to be custom... – FredericP Aug 06 '16 at 08:19