设置UITableView中Cell被默认选中后怎么触发didselect事件

2025-05-16 04:59:20
推荐回答(1个)
回答(1):

在UITableView里面,选择了某一个cell以后,点击立刻取消该cell的选中状态,可以使用如下方法: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { //some functions ...... // 取消选中状态 [ta...