awkward / Tatsi

A drop-in replacement for UIImagePickerController with the ability to select multiple images and/or videos
MIT License
110 stars 30 forks source link

drag finger to select multiple not supported #55

Open IshuRocks opened 3 years ago

IshuRocks commented 3 years ago

Drag finger to select multiple photos not supported.

altagir commented 1 year ago

This is the native iOS selection method, it should be replicated Any chance to happen ?

altagir commented 1 year ago

The fix is simple :

Add to AssetsGridViewController.swift in UICollectionViewDelegate extension :

    // This will allow selecting upon dragging finger over multiple images
    override func collectionView(_ collectionView: UICollectionView, shouldBeginMultipleSelectionInteractionAt indexPath: IndexPath) -> Bool {
        return true
    }

I guess I will fork this repo since not maintained