Contents

top

Scroll so that the item is positioned at the top of the collection view’s bounds.

Declaration

static var top: UICollectionView.ScrollPosition { get }

Discussion

This option is mutually exclusive with the centeredVertically and bottom options.

See Also

Constants