【发布时间】:2019-08-28 01:23:26
【问题描述】:
我尝试从一个集合视图拖动到另一个集合视图,它工作正常,除了当我长按一个项目并停在那里时。该项目成为它的拖动预览版本,不会回退到正常状态。如何停止主动拖动?
只有方法被调用:
(NSArray<UIDragItem *> *)collectionView:(UICollectionView *)collectionView itemsForBeginningDragSession:(id<UIDragSession>)session atIndexPath:(NSIndexPath *)indexPath
不调用任何删除委托方法。也不调用拖拽结束方法
【问题讨论】: