Type Property

top

Declaration

static var top: UICollectionView.ScrollPosition { get }

Discussion

Scroll so that the item is positioned at the top of the collection view’s bounds. This option is mutually exclusive with the centeredVertically and bottom options.