- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
// 1.取消选中这行
[tableView deselectRowAtIndexPath:indexPath animated:YES];
// 2.其他
}
选择tableView的某一行时,马上取消当前选中行(选中样式不保留)
最新推荐文章于 2023-09-05 16:14:55 发布