Open TrungTuyenTran opened 5 years ago
same issues
have you tried setting the content inset for the view?
Dear @TrungTuyenTran,
I think that I have found a solution to this problem. At least in my case, if I round the height before I set it, it can actually scroll normally.
Do something like this:
let customHeaderHeight = 316.3
headerViewHeight = round(customHeaderHeight)
Please let me know if this did work for you!
Best regards, Alexandros Athanasiadis
Dear @TrungTuyenTran,
I think that I have found a solution to this problem. At least in my case, if I round the height before I set it, it can actually scroll normally.
Do something like this:
let customHeaderHeight = 316.3 headerViewHeight = round(customHeaderHeight)
Please let me know if this did work for you!
Best regards, Alexandros Athanasiadis
Thank for reply, I try to rounded, it work well on iPhone8Plus, but sometime cannot work on iPhone XS Max or maybe other latest model
In iPhone 8 Plus , when I set headerViewHeight = 316.3, Go to Segment Tab -> Fourth Tab, the collectionView can scroll to bottom. But when I set headerViewHeight = 316.4 , it can NOT scroll . And If I set it to 316.5 , the collectionView can scroll to bottom. I don't know why ???