I'm having trouble when i try to select an item inside a UICollectionView
since when I click on it it scrolls a little bit.
I know didSelectItemAtIndexPath
is being called but I want to prevent the scrolling when selecting. I only want the collection view to scroll when the user is scrolling through but if the user is just tapping the cell it shouldn't move. Only should be selected.
I hope you can help me since I don't know how to prevent this problem.
Any help will be really appreciated.