How to get visible IndexPath while scrolling in collectionView,I referred many link1,link2 But indexPathForCell is not suppor
visible IndexPath
scrolling
collectionView
indexPathForCell
Swift, safer way to get visible Items:
if let indexPaths = self.collectionView.indexPathsForVisibleItems { //Do something with an indexPaths array. }