In this post, we will see how to resolve UICollectionView doesn’t scroll to bottom
Question:
I have an UICollectionView built programatically that doesn’t allow me to scroll to the last item in it.
Here is how I set it up
UICollectionViewDelegateFlowLayout
protocol to add theCGSize
of my item.Best Answer:
It seems your collection view is hiding behind the TabBar, So try to set the ContentInset of your collection view based on the bottom TabBar height.Example:
If you have better answer, please add a comment about this, thank you!
Source: Stackoverflow.com
Leave a Review