Post

Replies

Boosts

Views

Activity

Reply to UICollectionViewDiffableDataSource reorderingHandlers not working
I found the way to solve it. Just implement empty UICollectionViewDragDelegate & UICollectionViewDropDelegate methods. extension ReorderableCollectionViewController: UICollectionViewDragDelegate {     func collectionView(_ collectionView: UICollectionView, itemsForBeginning session: UIDragSession, at indexPath: IndexPath) -> [UIDragItem] {         return []     } } extension ReorderableCollectionViewController: UICollectionViewDropDelegate {     func collectionView(_ collectionView: UICollectionView, performDropWith coordinator: UICollectionViewDropCoordinator) {     } }
Sep ’20