0
不工作我已經創建了一個應用程序,它有一個表view.I需要添加標題和that.Here後退按鈕是我在viewcontroller.m文件中的代碼UInavigation控制器,目前modalviewcontroller這的UITableViewController
-(IBAction)go:(id)sender{
TableViewController *sec=[[TableViewController alloc]init];
sec.modalTransitionStyle=UIModalTransitionStyleCrossDissolve;
[self presentModalViewController:sec animated:YES];
[email protected]"test title";
UINavigationController* navController = [[UINavigationController alloc] initWithRootViewController:sec];
[self.navigationController presentModalViewController:navController animated:YES];
[navController release];
[sec release];
}
我現在需要重新添加按鈕,我的標題欄是不是displayed.Guidance請。
我怎樣才能做到這一點.. – Dany 2012-07-22 13:02:59
我曾試圖代碼 的UINavigationController * navigationController?; navigationController = [[UINavigationController的頁頭] INIT]; [self.view addSubview:navigationController.view];並獲得導航欄,但它隨着tableview滾動,它顯示在tableview中,它隱藏內容... – Dany 2012-07-22 13:26:54