I have a 'Back' UIBarButtonItem
as you can see in the 4th ViewController
The Back button is connected to an IBAction:
- (IBAction)backClicked:(UIBarButtonItem *)sender
{
[self.navigationController popViewControllerAnimated:YES];
}
But when I call popViewControllerAnimated:
from the fourth ViewController to go back to the 3rd ViewController, it changes the original color of the Tab Bar Tab's UINavigationBar
tintColor. The original navbar tintColor of the UITabBarController is set to green by the AppDelegate and the pop changes it to dark grey(the color of the 4th VC's navbar)
How do I not lose my navbar tintcolor when calling popViewControllerAnimated:
?? Please help, I've been trying to figure this out for days.
Check that you're not setting it in the viewWillAppear of the previous view.