uinavigation样式
生活随笔
收集整理的這篇文章主要介紹了
uinavigation样式
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
1 UINavigationController* pNav = [[UINavigationController alloc] initWithRootViewController:pView];
2 [pNav.navigationBar setBarTintColor:NAVBAR_COLOR];//導(dǎo)航條背景顏色
3 [pNav.navigationBar setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIColor colorWithRed:1.f green:1.f blue:1.f alpha:1.f],NSForegroundColorAttributeName,nil,NSShadowAttributeName,[UIFont fontWithName:@"HelveticaNeue-CondensedBlack" size:21.0], .NSFontAttributeName, nil]];//導(dǎo)航欄字體顏色[pNav.navigationBar setTintColor:[UIColor whiteColor]];//uibarbuttonitem顏色
?
轉(zhuǎn)載于:https://www.cnblogs.com/symen/p/4301870.html
總結(jié)
以上是生活随笔為你收集整理的uinavigation样式的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 创建PCH文件
- 下一篇: Android成长日记-Android监