首页 文章

使用按钮切换视图,进入表格视图,iphone

提问于
浏览
0

我的程序有4个按钮,每个按钮调用不同的表视图 . 这工作正常,但我的问题是,我正在使用的视图控制器调出一个表视图,覆盖我的导航栏和我的标签栏 . 我需要用一些能够显示表格而不是掩盖导航和标签栏的内容来替换该编码 . 这是我正在使用的编码: - (IBAction)buttonNorthWest {

NorthWestViewController *nwController = [[NorthWestViewController alloc] initWithNibName:@"NorthWestView" bundle:nil];
self.nwViewController = nwController;
[self.view insertSubview:nwViewController.view atIndex:0];


[self presentModalViewController:nwViewController animated:YES];


[nwController release];

}

[self presentModalViewController ....]是问题所在 . 有谁知道如何用保留导航和标签栏的东西替换代码?

谢谢你,海梅

1 回答

相关问题