码迷,mamicode.com
首页 > 其他好文 > 详细

uinavigation样式

时间:2015-02-26 20:13:24      阅读:127      评论:0      收藏:0      [点我收藏+]

标签:

1 UINavigationController* pNav = [[UINavigationController alloc] initWithRootViewController:pView];
2 [pNav.navigationBar setBarTintColor:NAVBAR_COLOR];//导航条背景颜色
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]];//导航栏字体颜色[pNav.navigationBar setTintColor:[UIColor whiteColor]];//uibarbuttonitem颜色

 

uinavigation样式

标签:

原文地址:http://www.cnblogs.com/symen/p/4301870.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!