如何着色UIBarButtonItem背景颜色? [英] How to tint UIBarButtonItem background color?
本文介绍了如何着色UIBarButtonItem背景颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个UIToolbar包含2个按钮。工具栏有一个色调:
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?
推荐答案
在这篇文章中找到答案:
Found the answer in this post:
这篇关于如何着色UIBarButtonItem背景颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文