FreeAsInBeer
FreeAsInBeer

Reputation: 12979

Change Highlight Color for UIButtons

Is it possible to change the highlight color (shown when the showsTouchWhenHighlighted property is set to true) of a UIButton used in a UIToolbar? By default it's white, and since most apps use white images, it isn't the most appealing as the white highlight washes out the image. I would prefer something more like a light gray that really would highlight the image instead of preventing the user from seeing it.

Upvotes: 1

Views: 2445

Answers (2)

CharlieMezak
CharlieMezak

Reputation: 5999

EmptyStack is right AFAIK, but you could always make your own UIButton and use it as a custom view for your UIBarButtonItem. A little work, but doable.

Upvotes: 2

EmptyStack
EmptyStack

Reputation: 51374

To my knowledge, the answer is NO.

Upvotes: 3

Related Questions