【发布时间】:2013-07-07 18:52:08
【问题描述】:
我正在使用来自 ray 的以下教程 http://www.raywenderlich.com/913/sqlite-101-for-iphone-developers-making-our-app
除了要从 didselectrow 填充的详细视图之外,我让一切正常工作
这就是他所拥有的
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
if (self.details == nil) {
self.details = [[[FailedBanksDetailViewController alloc] initWithNibName:@"FailedBanksDetailViewController" bundle:nil] autorelease];
}
FailedBankInfo *info = [_failedBankInfos objectAtIndex:indexPath.row];
_details.uniqueId = info.uniqueId;
[self.navigationController pushViewController:_details animated:YES];
[self performSegueWithIdentifier:@"testID" sender:self.view];
}
但它不适用于情节提要
谁能帮帮我,我到处找答案!!!
【问题讨论】:
标签: ios tableview didselectrowatindexpath