当用户启动拖动事件时,有没有办法隐藏某些行?
我试着在这个委托中这样做,我能够隐藏某些行,但是当我拖动行时,我得到了非常不稳定和意外的行为
func tableView(_ tableView: UITableView, itemsForBeginning session: UIDragSession, at indexPath: IndexPath) -> [UIDragItem]发布于 2018-12-15 14:01:23
我将实现以下方法:
func scrollViewWillBeginDragging(UIScrollView) { // hide whatever rows you want }
还有..。
func scrollViewWillBeginDragging(UIScrollView) { // unhide them }
https://stackoverflow.com/questions/53788812
复制相似问题