Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ljg93

macrumors member
Original poster
Mar 13, 2011
98
0
hey everyone if you have the nike healthcare and fitness application, check out the tab bar it changes to a red color when you click on each tab.. I was wondering how to do this?
 
in the delegate method of the UITabbarController, set the color per tab. If u checked the documents, you wouldve seen there is a delegate method of UITabbarControllerDelegate for checking what tab u clicked.
And in there, u can say like,
Code:
 self.tabBar.backgroundColor = [UIColor blackColor];
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.