を に追加しようとしimageていUITabbarます。現在、デフォルトの輝きを持つ黒色です。下のような無地が欲しいです。UITabbarこれをxibに追加するにはどうすればよいですか?

を に追加しようとしimageていUITabbarます。現在、デフォルトの輝きを持つ黒色です。下のような無地が欲しいです。UITabbarこれをxibに追加するにはどうすればよいですか?

これを試して
UIImage* tabBarBackground = [UIImage imageNamed:@"tabbar.png"];
[[UITabBar appearance] setBackgroundImage:tabBarBackground];
[[UITabBar appearance] setSelectionIndicatorImage:[UIImage imageNamed:@"tabbar_selected.png"]];
UITabBar をカスタマイズするために、iOS 5 にはタブバーの背景画像を変更できる API が用意されています。
// ios 5 code here
UIImage *tabBackground = [[UIImage imageNamed:@"tab_bg"]
resizableImageWithCapInsets:UIEdgeInsetsMake(0, 0, 0, 0)];
[[UITabBar appearance] setBackgroundImage:tabBackground];
[[UITabBar appearance] setSelectionIndicatorImage:
[UIImage imageNamed:@"tab_select_indicator"]];
// ios 4 code here
CGRect frame = CGRectMake(0, 0, 480, 49);
UIView *tabbg_view = [[UIView alloc] initWithFrame:frame];
UIImage *tabbag_image = [UIImage imageNamed:@"PB_MD_footer_navBg_v2.png"];
UIColor *tabbg_color = [[UIColor alloc] initWithPatternImage:tabbag_image];
tabbg_view.backgroundColor = tabbg_color;
[tabBar insertSubview:tabbg_view atIndex:0];
ありがとう、