Closed SpectralDragon closed 6 years ago
Are you using DZNEmptyDataSet? It wasn't working for me as well. I found out it was a conflict with DZNEmptyDataSet, which disables scroll. You should add this to the bottom of your view controller to make it work.
extension NameOfTheCollectionViewController: DZNEmptyDataSetSource, DZNEmptyDataSetDelegate
{
func emptyDataSetShouldAllowScroll(scrollView: UIScrollView!) -> Bool {
return true
}
}
Hope it helps. Cheers
This worked for me...
self.collectionView.alwaysBounceVertical = true
@Omeesh thanks you!)
Aha... good job.
@Omeesh thank you :)
@Omeesh ;) thanks bro
I'm create my collectionView in
loadView()
method, and if my collection is empty i can't refresh him. What happened? :)