开发者

uibarbuttonitem tintColor

开发者 https://www.devze.com 2023-02-06 17:17 出处:网络
I have 2 buttons on a UIToolbar开发者_JAVA技巧, I\'d like one to be tinted green and the other red. Can I do this using the TintColor feature. Or do I have to use images?EDIT: I misread. If you want t

I have 2 buttons on a UIToolbar开发者_JAVA技巧, I'd like one to be tinted green and the other red. Can I do this using the TintColor feature. Or do I have to use images?


EDIT: I misread. If you want to tint the buttons individually, your only option is going to be images and custom views.

I would warn you though, this is a blatant violation of the HIG. I don't think it'll be liked by the review team.

0

精彩评论

暂无评论...
验证码 换一张
取 消