title: How to change the Color of text in UITabBarItem in iOS 5
body: <p>with more appearance control in iOS 5, how do we change the UITabBarItem text color ? from default white to other color ?</p>
  
  <p>EDIT:working solution</p>
  
  <pre><code>  [[UITabBarItem appearance] setTitleTextAttributes:
           [NSDictionary dictionaryWithObjectsAndKeys:
            [UIColor blackColor], UITextAttributeTextColor, 
            [UIColor whiteColor], UITextAttributeTextShadowColor, 
            [NSValue valueWithUIOffset:UIOffsetMake(0, 1)], UITextAttributeTextShadowOffset, 
            [UIFont fontWithName:@"Rok" size:0.0], UITextAttributeFont, 
            nil] 
                                                forState:UIControlStateNormal];
  </code></pre>