//按钮的颜色
[self.navigationBar setTintColor:[UIColor whiteColor]];
//标题颜色
[self.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName:[UIColor whiteColor],NSFontAttributeName:[UIFont systemFontOfSize:16]}];
//背景颜色
self.navigationBar.barTintColor = [UIcolor red];
```
// 隐藏导航栏的返回键
self.navigationItem.hidesBackButton = YES;
self.navigationItem.leftBarButtonItem = nil;