I am using a CollectionView in my ios app. Each collection cell contains a delete button. By clicking the button the cell should be deleted. After deletion, that space will be filled with below cell (I don't wish to reload the CollectionView and start from top again)
How do I delete a particular cell from UICollectionView with autolayout?
UICollectionView will animate and automatically rearrange the cells after deletion.
Delete selected items from collection view
No delegate methods provided to UICollectionViewController as like UITableviewController. We can do it manually by adding a long gesture recognizer to UICollectionView.
In longGesture method add button on that particular cell.
In that button action,
I think it can help you.