Texture
Texture copied to clipboard
How to hide a supplementary view in ASCollectionNode other than reloadData?
I have a footer in ASCollectionNode. I want to hide this footer after loading more data. But I can't hide it other than reloadData. I have tried these ways:
reloadSections
relayoutItems
performBatchUpdates
I can change its size by the value returned in sizeRangeForFooterInSection. But once I return ASSizeRangeZero, the old footer wouldn't change at all.