UICollectionView doesn’t bounce when datasource has only 1 item

UICollectionView has the properties alwaysBounceHorizontal and alwaysBounceVertical. Setting the horizontal to YES did the trick.

Leave a Comment