//取消选中 - (void)deselect{ [_tableView deselectRowAtIndexPath:[_tableView indexPathForSelectedRow] animated:YES]; } //在点击某一行中添加 [self performSelector:@selector(deselect) withObject:nil afterDelay:0.5f];
时间: 2024-08-30 15:06:24
//取消选中 - (void)deselect{ [_tableView deselectRowAtIndexPath:[_tableView indexPathForSelectedRow] animated:YES]; } //在点击某一行中添加 [self performSelector:@selector(deselect) withObject:nil afterDelay:0.5f];