【发布时间】:2010-05-26 00:03:27
【问题描述】:
我的程序有 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....] 是问题所在。有谁知道如何用保留导航栏和标签栏的东西替换该代码?
谢谢, 詹姆
【问题讨论】:
-
你有这方面的最新消息吗?
标签: iphone uiview button tableview