HII每一個如何隱藏在標籤點擊標籤欄在iPhone應用程序
我做了多視圖的應用程序,因爲我有4個選項卡,, &我在每個選項卡視圖控制器,在一個選項卡中,我已經分組了表格視圖控制器,點擊該選項卡它將進入該分組表格視圖,每一件事情都很好,但表格的最後一行隱藏在標籤欄下,所以我需要隱藏標籤欄當我進入該屏幕,我怎麼能做到這一點,,任何一個可以幫助我
我在AppDelegate中使用這種以編程方式創建標籤,
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
UINavigationController *localNavigationController;
tabBarController = [[UITabBarController alloc] init];
NSMutableArray *localControllersArray = [[NSMutableArray alloc] initWithCapacity:5];
//add first tab View Controller
RootViewController *ViewController;
ViewController = [[RootViewController alloc] initWithTabBar];
localNavigationController = [[UINavigationController alloc] initWithRootViewController:ViewController];
[localControllersArray addObject:localNavigationController];
[localNavigationController release];
[ViewController release];
//add second tab View Controller
StudentDataEntry *GroupViewController;
GroupViewController = [[StudentDataEntry alloc] initWithTabBar];
localNavigationController = [[UINavigationController alloc]
initWithRootViewController:GroupViewController];
[localControllersArray addObject:localNavigationController];
[localNavigationController release];
[GroupViewController release];
}
thanx提前
雅真的作品,感謝名單了很多 – Ravi 2011-05-26 04:38:00