iOS7之后,请注意需要使用setBarTintColor```[self.navigationController.navigationBar setBarTintColor:[UIColor redColor]];