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
2010-06-16 09:13:26
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
2010-06-16 09:25:22
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
2010-06-16 09:13:53
A:
UITabBarItem is pretty much non-customizable so if you must, you could:
Piggyback by iterating thru the
UITabBar
’s subviews, find the labels using-[NSObject isKindOfClass:]
and change their color.Create your own
UITabBar
and roll custom tab bar items.Try alternatives like Three20’s
TTTabBar
.
Evadne Wu
2010-06-16 10:21:43