You can unregister a UICollectionView supplementary view by re-registering it
with nil
class as stated in Apple’s docs.
(Remember to use the same reuseIdentifier
).
But don’t forget to overwrite the [UICollectionViewDelegateFlowLayout collectionView:layout:referenceSizeForHeaderInSection:]
Header or footer, depending on your need.