xcode 4.2 で新しいタブ バー プロジェクトを作成しましたが、アプリ デリゲートの xib ファイルがありません。プロジェクトには 2 つのナビゲーション コントローラーがあります。タブバーの名前を設定できますが、画像を設定できませんでした。私は多くの試みに完全にうんざりしています。FirstViewController *firstView = [[FirstViewController alloc] initWithNibName:@"FirstViewController_iPhone" bundle:nil]
firstView.title=@"Birthdays";
firstView.tabBarItem.image=[UIImage imageNamed:@"bottomleft.png"];
SecondViewController *secondView = [[SecondViewController alloc] initWithNibName:@"SecondViewController_iPhone" bundle:nil];
secondView.title=@"Settings";
secondView.tabBarItem.image=[UIImage imageNamed:@"bottomright.png"];
UINavigationController *navController2 = [[UINavigationController alloc] initWithRootViewController:secondView];
navController2.navigationBarHidden=YES;
[viewControllers addObject:navController2];
ここで、私が得ている出力の種類を見ることができます。