Open
Description
Hi.
The layout looks broken when using a cell programmatically. What am I missing? What could be different between the configuration of the cell in the Sample project in the storyboard and my own?
I narrowed the problem down to cell configuration because if I copy the Sample project's storyboard and viewControllers, I am about to successfully display and scroll the collectionview. As soon as I replace the Sample cell with my own, it fails.
I tore down the cell to the bare minimum
class MyCustomCell: UICollectionViewCell {
// nothing
}
and still, I get something like:
I'm on v 1.10, using SwiftPM, testing on iPhone SE Simulator iOS 13.5 And 14.
I'm just trying to test out a full screen collectionview exactly like the sample project, only programmatic, and using my own cell.
Metadata
Metadata
Assignees
Labels
No labels