I have a horizontal scrolling collectionView with each cell the size of the view. When I page through the collectionView it doesn\'t page by cell. The cells aren\'t in the c
The code I just saw from Apple Official Guides and Sample Code:
AssetViewController.swift:
self.collectionView?.isPagingEnabled = true
self.collectionView?.frame = view.frame.insetBy(dx: -20.0, dy: 0.0)
this code enlarges the collection view so that it extends out of the screen, while the content is just within the screen edges