title: How to change color of inactive tab-bar icons in ios7?
body: <p>I'd like to change the color of inactive icons in the tab bar in ios7.</p>
  
  <p>I know how to set the color to selected TabBar item, But I don't know how to set the color to inactive TabBar items.</p>
  
  <p>Does anyone know how to do it?
  Thanks in advance!!</p>
  
  <p>This is my code in appDelegate.m</p>
  
  <pre><code>//tint color for tabbar
  [UITabBar appearance].barTintColor = [UIColor colorWithRed:0.077 green:0.411 blue:0.672 alpha:1.000];
  
  //tint color for the text of inactive tabbar item.
  [[UITabBarItem appearance] setTitleTextAttributes:@{NSForegroundColorAttributeName:        [UIColor whiteColor]} forState:UIControlStateNormal];
  
  //tint color for the text of selected tabbar item.
  [[UITabBarItem appearance] setTitleTextAttributes:@{NSForegroundColorAttributeName:        [UIColor orangeColor]} forState:UIControlStateSelected];
  
  //tint color for the selected tabbar item.
  [[UITabBar appearance] setTintColor:[UIColor whiteColor]];
  
  //tint color for the inactive tabbar items.
  //Question:how can I set tint color for the inactive tabbar items???
  </code></pre>