eggswift / pull-to-refresh

#Busy Re-Building....# An easy way to use pull to refresh and infinite scrolling in Swift. Pod 'ESPullToRefresh'
MIT License
1.82k stars 253 forks source link

Couldn't do pull to refresh when there is 1 or 2 items in UICollectionView #172

Closed zaidqattan closed 4 years ago

zaidqattan commented 4 years ago

Hello, I'm working on a project and used your amazing library, my issue happens when I have 1 or 2 cells in the collection view and the scroll fits the screen so I couldn't be able to do the pull to refresh

IMG_2267

iamjjh commented 4 years ago

set collection.bounce and alwaysBounceVertical true

zaidqattan commented 4 years ago

Thank you! it worked