【发布时间】:2010-08-23 12:16:45
【问题描述】:
我正在为一个小型 iphone 应用程序加载新视图,并且想知道如何将详细信息从一个应用程序传递到另一个应用程序? 我正在从 xml 文件中加载一个充满数据的 tableview,然后单击一个新视图通过以下方式引入:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
SubInfoViewController *subcontroller = [[SubInfoViewController alloc] initWithNibName:@"SubInfoView" bundle:nil];
[self presentModalViewController:subcontroller animated:YES];
[subcontroller release];
}
下一步是告诉新加载的视图刚刚加载了哪一行? 任何想法,想法都非常受欢迎,请温柔的大新手......
【问题讨论】:
标签: objective-c iphone cocoa-touch