Uicollectionview Detect Scroll Swift

[Solved] Uicollectionview Detect Scroll Swift | Swift - Code Explorer | yomemimo.com
Question : detect end of scroll in UICollectionView ios swift

Answered by : nayan-dave

func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) { for cell in yourCollectionView.visibleCells { let indexPath = yourCollectionView.indexPath(for: cell) print(indexPath) }
}

Source : | Last Update : Thu, 02 Jun 22

Answers related to uicollectionview detect scroll swift

Code Explorer Popular Question For Swift