Contents

scrollDirection

The axis that the content in the collection view layout scrolls along.

Declaration

var scrollDirection: UICollectionView.ScrollDirection { get set }

Discussion

The default value of this property is UICollectionView.ScrollDirection.vertical.