tags:

views:

278

answers:

3

Hi, can anyone help me in this weird problem is there anyways to change the text color of uitabbar item from default gray to white and selected color to blue.

A: 

Check out this question and this question's answers, but be aware that your app might get rejected for modifying the default tabbar components like that.

luvieere
thanks a lot for your quick response but this does not helps me as I am able to change the images color and this code does the same..please suggest me how to change the text color of the uitabbaritem.
yogendra
A: 

Download a different jquery theme for the colors you want or set up your own themeroller to set the color dynamically.

Edit: Oh, just realized you meant that ui tabber control and not jquery ui tabs. It does seem quite convoluted... Why not try jquery anyway?

James Santiago
A: 

UITabBarItem is pretty much non-customizable so if you must, you could:

  1. Piggyback by iterating thru the UITabBar’s subviews, find the labels using -[NSObject isKindOfClass:] and change their color.

  2. Create your own UITabBar and roll custom tab bar items.

  3. Try alternatives like Three20’s TTTabBar.

Evadne Wu