Make the UICollectionView scrollable even when its not full

后端 未结 1 1157
有刺的猬
有刺的猬 2021-01-18 15:54

The UICollectionView disables scrolling by default when there is not enough cells in the view. When this occurs I need it to bounce back to position when pulled. Im am aware

相关标签:
1条回答
  • 2021-01-18 16:30

    Try this :

    self.collectionView.alwaysBounceVertical = YES;
    
    0 讨论(0)
提交回复
热议问题