Quote:
Originally Posted by Sander
Hi all,
I set the alpha value of a button on my view to lower than 1.
The button becomes transparent.
Problem is, is that the font color is white and so the text on the button disappears.
Is there a way to make the button transparent but not the text on it?
Kind regards Sander
|
The only thing I can think of is to set up your button with no title, and put a UILabel on top of it, with the background color on the label set to clear.
Set the label with userInteractionEnabled set to false, so taps pass through to the button.