在我的应用程序中,当用户点击行或所选行时,我得到行索引。但是,如果一行被点击两次,我的应用程序崩溃。为什么多个触摸导致我的iPhone应用程序崩溃?
什么引起这种行为,我怎么能解决这个问题?下面是我使用的代码:
(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
abc *xyz = [[abc alloc] init];
dcs = [allHadits objectAtIndex:indexPath.row];
hk = dcs.kokid;
[dcs release];
}
请告诉我崩溃报告吗? – KingofBliss 2011-02-08 05:16:40