1.设置背景颜色
[[UINavigationBarappearance]setBarTintColor:ColorFromRGB(0x2E2E3A,1.0)];[[UINavigationBarappearance]setBackgroundColor:ColorFromRGB(0x2E2E3A,1.0)];[UINavigationBarappearance].translucent=NO;
2.设置字体颜色
[[UINavigationBarappearance]setTitleTextAttributes:@{NSFontAttributeName:[UIFontsystemFontOfSize:17],NSForegroundColorAttributeName:[UIColorwhiteColor]}];[[UINavigationBarappearance]setTintColor:[UIColorwhiteColor]];
3.如果不对清告诉我!