有什么办法能让第二个Section中的后三个TableViewCell的位置始终固定在最后,不会受其他Cell拖拽的影响呢?
已经自行解决,使用func tableView(_ tableView: UITableView, targetIndexPathForMoveFromRowAt sourceIndexPath: IndexPath, toProposedIndexPath proposedDestinationIndexPath: IndexPath) -> IndexPath处理即可
2.1m questions
2.1m answers
62 comments
56.6k users