2012-01-27 120 views

回答

1

假设你的意思是你不能弄清楚,并希望类似的图像中,

tabBarController.tabBarItem.title = @"Your title" 
0

在这种进入底部的TabBar每个视图控制器,您必须指定标签栏项目:

将此代码插入到init方法或viewDidLoad方法中。

UITabBarItem * tabtitle = [[UITabBarItem alloc] initWithTitle: @" YOUR TITLE " 
                 image: nil //or your image 
                  tag: 0]; 

[self setTabBarItem: tabtitle]; 
//[tabtitle release]; //release if not using ARC