1.
UIImageView *tabBarBgView = [[UIImageView alloc] initWithFrame:_tabBarController.view.bounds];
[tabBarBgView setImage:[UIImage imageNamed:@"menu_bar.png"]];
[tabBarBgView setContentMode:UIViewContentModeScaleToFill];
[_tabBarController.tabBar insertSubview:tabBarBgView atIndex:1];
[tabBarBgView release];
2.
UIView *tabBarBgView = [[UIView alloc] initWithFrame:_tabBarController.view.bounds];
tabBarBgView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"menu_bar.png"]];
[_tabBarController.tabBar insertSubview:tabBarBgView atIndex:1];
[tabBarBgView release];