CollectionView scroll to top
in swift 3: after reloadData()
self.collectionView.setContentOffset(CGPoint(x:0,y:0), animated: true)
Its work fine......
collectionView.setContentOffset(.zero, animated: false)
in swift 3: after reloadData()
self.collectionView.setContentOffset(CGPoint(x:0,y:0), animated: true)
Its work fine......
collectionView.setContentOffset(.zero, animated: false)