FSPagerView
FSPagerView copied to clipboard
UICollectionView received layout attributes for a cell with an index path that does not exist
I'm using pagerview in uitableview, in each cell. And I'm getting this error. Can't find similar issue. "UICollectionView received layout attributes for a cell with an index path that does not exist", this is from log.
I have facing the same issue. Please look on this issue
Hi, I am facing same issue, and getting crash related to collectionviewlayoutattributes. Can anyone please help!
I have facing the same issue frame #2: 0x00000001c7730e74 UIKitCore`-[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:isFocused:notify:] + 424
Did you solve it later?
I have facing the same issue -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:isFocused:notify:] + 428
the problem lies in this part of your code:
guard let imageData = self.dataSource!.pagerView(self, cellForItemAt: index) { return UICollectionViewCell() } You cannot return a UICollectionViewCell without an identifier. you maybe need return a default UICollectionViewCell.