section headers not correctly positioned
CoooooooderJ opened this issue · comments
When I applied the layout to a collectionView with section headers, the headers except the first one were not correctly positioned. It seemed that the origin of the headers were the same as that of the first row of cells in the same section. Any suggestion? Is it a bug, or have I miss anything? Thx
The headers incorrectly positioned should have been higher than they are. I have peek into the source code and find that in the layoutAttributesForElements method, when enumerating the attributesCopy, the case of attributes.representedElementKind == UICollectionViewElementKindSectionHeader/UICollectionViewElementKindSectionFooter is not handled. May this be the reason of the issue?