Is there an easy way to reload the suppplementary view only in a UICollectionViewFlowLayout? I don’t want to reload the whole thing. Is it possible to do so?
Is there an easy way to reload the suppplementary view only in a UICollectionViewFlowLayout?
Share
After reviewing the documentation, I’m not sure about reloading an individual supplementary view, but you can use
reloadSections:to update 1 or more sections in the UICollectionView. (documentation) So when a section header needs updating, you can call:Objective-C:
Swift:
Which happens to call: