I have a UIToolbar that contains 2 buttons. The toolbar has a tint:
toolbar.tintColor = [UIColor colorWithRed:(102.0/255.0) green:(20.0/255.0) blue:(11.0/255.0) alpha:1];
How can I make the buttons have a similar tint color?
I have a UIToolbar that contains 2 buttons. The toolbar has a tint:
toolbar.tintColor = [UIColor colorWithRed:(102.0/255.0) green:(20.0/255.0) blue:(11.0/255.0) alpha:1];
How can I make the buttons have a similar tint color?
The best thing to do is set the tintColor
AFTER you add buttons to it, as in iOS 4.0, it no longer updates buttons added to the bars after the tintColor
has been set.
Found the answer in this post:
http://stackoverflow.com/questions/3151549/uitoolbar-tint-on-ios4