//按鈕的顏色
[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;