【发布时间】:2013-03-14 17:25:24
【问题描述】:
我有一个UITableView,我想让用户在其中单击单元格并使用子视图来显示详细信息。这个方法我试过了:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
SubMainViewController __autoreleasing *mSubView = [self.storyboard instantiateViewControllerWithIdentifier:@"mainSubView"];
[self presentViewController:mSubView animated:YES completion:nil];
}
这似乎有效,但是,我无法返回我的表格视图,有人可以帮我吗?
【问题讨论】:
-
你在尝试什么?回到桌子上。
-
请检查我编辑的答案。
标签: ios ipad ios6 addsubview