UICollectionView with ContentInset is not Scrolling all the Way Down

后端 未结 6 1663
长发绾君心
长发绾君心 2020-12-29 06:20

I am setting the content inset of a UICollectionView:

[_collectionView setContentInset:UIEdgeInsetsMake(0.f, 0.f, 100.f, 0.f)];

Then I am s

6条回答
  •  忘掉有多难
    2020-12-29 07:06

    swift version

    collectionview.contentInset = UIEdgeInsetsMake(44,0,0,0)
    collectionview.scrollIndicatorInsets = UIEdgeInsetsMake(44,0,0,0)
    

提交回复
热议问题