更改UINavigationBar的颜色 [英] Change color of UINavigationBar
本文介绍了更改UINavigationBar的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我创建了 UINavigationBar
,我尝试将颜色条改为aqua颜色(As在Nib文件中)
I created UINavigationBar
, and I try to change the color bar to aqua color (As in Nib file)
我该怎么办?
推荐答案
[[UINavigationBar appearance] setTintColor:[UIColor colorWithRed:0 green:.62 blue:.984 alpha:1]];
老兄,试试这个 [UIColor Aqua]
整个应用程序。
Dude, try this to get [UIColor Aqua]
throughout your app.
这篇关于更改UINavigationBar的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文