在我的應用程序中,當用戶點擊行或所選行時,我得到行索引。但是,如果一行被點擊兩次,我的應用程序崩潰。爲什麼多個觸摸導致我的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