首页 > 其他 > 详细

uinavigation样式

时间:2015-02-26 20:13:03      阅读:205      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!