//按钮的颜色 [self.navigationBar setTintColor:[UIColor whiteColor]]; //标题颜色 [self.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName:[UIColor whiteColor],NSFontAttributeName:[UIFont systemFontOfSize:16]}]; //背景颜色 self.navigationBar.barTintColor = [UIcolor red];