通过渲染改变tabBarItem的背景图片
UITabBarController *tabVC = [[UITabBarController alloc] init];
TestVC *vc = [TestVC new];
tabVC.tabBar.tintColor = [UIColor greenColor];
UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:vc];
nav.tabBarItem.title = @"第一页";
UIImage *img = [UIImage imageNamed:@"service_sel"];
nav.tabBarItem.selectedImage = [img imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
nav.tabBarItem.image = [img imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];