pull-to-refresh
pull-to-refresh copied to clipboard
adding content offset to uicollectionview
in my APIManager call back,
after updating my datasource i am simply stoping the loadMore and reloading my collection view as follows
self.collectionView.es_stopLoadingMore() self.collectionView.reloadData()
but it is generating some white space at bottom every time i get response
I have added the image please check
Let's try this when you face problem above. Work properly on es_removeRefreshFooter collectionView.contentInset.bottom = 0 collectionView.es_removeRefreshFooter()