title: How to change tab bar item text color
body: <p><img src="https://i.stack.imgur.com/6106R.png" alt="enter image description here"></p>
  
  <p>How can I change the color of "More.." text in tabbar to match with its icon color.  (Right now Performance is selected in the tab bar)</p>
  
  <p>I tried to set TitleTextAttributes. </p>
  
  <pre><code>[moreItem setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIFont fontWithName:@"HelveticaLTStd-Roman" size:10.0f], NSFontAttributeName,  [UIColor yellowColor],NSForegroundColorAttributeName , nil]
  </code></pre>
  
  <p>But it the text color is always set to yellow. even when the item is selected. Like this
  <img src="https://i.stack.imgur.com/yI4vN.png" alt="enter image description here"> </p>
  
  <p>I am trying set to white when selected and when unselected it should match with icon color. 
  Thanks..
  Any suggestions will be really helpful.</p>