TanguyAladenise / BBBadgeBarButtonItem

A BarButtonItem with a badge on top.
MIT License
963 stars 154 forks source link

tintcolor is missing #13

Closed scorpiozj closed 8 years ago

scorpiozj commented 10 years ago

Hi, My UIBarButtonItem has tintColor. And I hope the item can keep it.
however, it currently doesn't have the tint color. I tried to add color to the custom button and it failed either.

Please take a look. 2014-07-16 10 26 45 am

pot8os commented 9 years ago

Hi, did you try this? I had a same issue but I solved. http://stackoverflow.com/a/21208796

scorpiozj commented 9 years ago

The tint color is set like:

[[UIBarButtonItem appearance] setTintColor:[UIColor redColor]];

Then the system can render the color itself. That's what I want.Now I fix it by re-designing the image for the UIBarButtonItem.
Thanks all the same!