当我在 iPhone 模拟器中运行该应用程序时,一切正常......但随着时间的推移,我会尝试让我的 iPhone
线程 1:应用程序接收到的信号:“Sigbart 1”
为什么?
这是代码:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
golfbaner *detailViewController = [[golfbaner alloc] initWithNibName:@"Golfbaner" bundle:nil];
detailViewController.golf = [banenavn objectAtIndex:indexPath.row];
[self.navigationController pushViewController:detailViewController animated:YES];
[detailViewController release];
}
XCode 说它在这里:
[self.navigationController pushViewController:detailViewController 动画:YES];
出错了
我可以承认我是一个初学者....哈哈