You don't need to do that; instead, put this in the viewWillAppear:
method of your contained controllers:
Controller 1:
- (void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
self.tabBarController.tabBar.tintColor = [UIColor blueColor];
}
Controller 2:
- (void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
self.tabBarController.tabBar.tintColor = [UIColor yellowColor];
}
This assumes iOS5+. Hope this helps.