I am setting the
[[UINavigationBar appearance] setBarTintColor:[UIColor colorWithRed:0.78 green:0.05 blue:0.2 alpha:1]];
[[UINavigationBar appearance] setTintColor:[UIColor whiteColor]];
[[UINavigationBar appearance] setTranslucent:NO];
I replicated your steps almost exactly and was able to match the colors.
The main difference was I set the barTintColor: directly to it's root view's background color.
Here is my code:
itemsViewController.view.backgroundColor = [UIColor redColor]; UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:itemsViewController]; navController.navigationBar.barTintColor = itemsViewController.view.backgroundColor; navController.navigationBar.tintColor = [UIColor whiteColor]; navController.navigationBar.translucent = NO;
So I'm going to say that your issue is that you are not setting the right barTintColor: because your RGB color values are incorrect. I'd focus your efforts there.