I have created a cover flow layout by subclassing UICollectionViewFlowLayout.
There is an animation that pushes one item to center of the screen based on the method:
-(CGPoint)targetContentOffsetForProposedContentOffset:(CGPoint)proposedContentOffset withScrollingVelocity:(CGPoint)velocity
I need to find a way of knowing which item is this in order to make something with the related data item.
How can I achieve this? Can't seem to find a way.