Produkt/PDKTStickySectionHeadersCollectionViewLayout

crash on iOS 10 when reloadData

donaldyang opened this issue · 1 comments

layout attributes for supplementary item at index path (<NSIndexPath: 0xc000000000000116> {length = 2, path = 1 - 0}) changed from <UICollectionViewLayoutAttributes: 0x6100001fdf00> index path: (<NSIndexPath: 0xc000000000000116> {length = 2, path = 1 - 0}); element kind: (UICollectionElementKindSectionHeader)

Terminating app due to uncaught exception 'NSInternalInconsistencyException',
reason: 'layout attributes for supplementary item at index path (
<NSIndexPath: 0xc000000000000116> {length = 2, path = 1 - 0}) changed from <UICollectionViewLayoutAttributes: 0x1743ea400> index path: (
<NSIndexPath: 0xc000000000000116> {length = 2, path = 1 - 0});
element kind: (UICollectionElementKindSectionHeader);
frame = (0 1202; 414 48); zIndex = 10;
to <UICollectionViewLayoutAttributes: 0x1743ec900> index path: (
<NSIndexPath: 0xc000000000000116> {length = 2, path = 1 - 0});
element kind: (UICollectionElementKindSectionHeader);
frame = (0 1194; 414 48); zIndex = 7; without invalidating the layout'