Detect End Of Scroll In Uicollectionview Ios Swift

[Solved] Detect End Of Scroll In Uicollectionview Ios Swift | Swift - Code Explorer | yomemimo.com
Question : Get index where scroll ended 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 detect end of scroll in uicollectionview ios swift

Code Explorer Popular Question For Swift