I am completely confused in all of these color settings in the navigationController in iOS7. Can someone tell me what exactly is the difference among all these things? I tried to figure out some of them, but I'm not sure if I am right.
Thanks!
self.navigationController.navigationBar.barTintColor=[UIColor redColor];
self.navigationController.navigationBar.backgroundColor=[UIColor greenColor];
self.navigationController.navigationBar.tintColor=[UIColor whiteColor];
self.navigationController.navigationBar.titleTextAttributes = @{UITextAttributeTextColor:[UIColor blueColor]};
[self.navigationItem.rightBarButtonItem setTitleTextAttributes:@{UITextAttributeTextColor:[UIColor greyColor]} forState:UIControlStateNormal];
source
share