Reply to Swift, iOS15, UIKit, CollectionView header issue I had the same problem and it was because iOS 15 seems to not support registering the same class for multiple element kinds. I made subclasses of the original class and registered each one for each kind and the crash fixed. Community Apple Developers Sep ’21