uinavigation样式

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颜色
原文地址:https://www.cnblogs.com/symen/p/4301870.html