I've got a very simple collectionView in my app (just a single row of square thumbnail images).
I'd like to intercept the scrolling so that the offset always leaves a full image at the left side. At the moment it scrolls to wherever and will leave cut off images.
Anyway, I know I need to use the function
to do this but I'm just using a standard
UICollectionViewFlowLayout. I'm not subclassing it.
Is there any way of intercepting this without subclassing