I want to customize my button like those UIBarButtonItems on a UIToolbar with tint color. Does 开发者_StackOverflowany one know how to draw that tint effect?
I went nuts trying to figure this out once.
The best I could do was to do my own "custom" button, and use it as the button's "image".
The real hard part was getting the font right. The web said it was supposed to be "Helvetica" I believe - but it never looked right.
The thing you're trying to do isn't supported. You should just make your own button that looks the way you want it to and set it as the customView of the button item object.
精彩评论