UICollectionViewCompositionalLayout wrong content size – Ios swift
For given layout, UICollectionView always returns content size which is equal to UICollectionView size, even if items go beyond the UICollectionView. private lazy var layout: UICollectionViewCompositionalLayout = { let margin = 8.0 let itemSize = NSCollectionLayoutSize( widthDimension: .fractionalWidth(1.0), heightDimension: .fractionalHeight(1.0)…