这样会出现跳动
let indexPath = IndexPath.init(row: 2, section: 0)
self.tableView .reloadRows(at: [indexPath], with: UITableViewRowAnimation.none)
使用以下代码解决跳动问题
let indexPath = IndexPath.init(row: 2, section: 0)
UIView.performWithoutAnimation {
self.tableView .reloadRows(at: [indexPath], with: UITableViewRowAnimation.none)
}










网友评论