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颜色

 

posted on 2015-02-26 18:05  小丑鱼2012  阅读(208)  评论(0编辑  收藏  举报