【发布时间】:2011-06-12 15:32:28
【问题描述】:
我有一个包含 3 个项目的 tabBarController。
在我的 tabBar 第一项的第一个视图中,我有一个 tableview 和一个 navigationController。
当我在我的 tabBar 的第一个项目中的 tableview 中推 1 行时,如何进入我的 tabBar 的第二个项目?
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
Second *two = [[Second alloc] initWithNibName:@"Second" bundle:nil];
[self.navigationController pushViewController:two animated:YES];
[two release];
谢谢
【问题讨论】:
标签: iphone objective-c ios uinavigationcontroller uitabbarcontroller