How can i find indexPath for cell in the middle of UICollectionView?
indexPath
cell
UICollectionView
I have horizontal scrolling and only one big cell<
cell<
Based on @micantox answer. Updated code for Swift 5
let initialPinchPoint = CGPoint(x: collectionView.center.x + collectionView.contentOffset.x, y: collectionView.center.y + collectionView.contentOffset.y)