maxNumberOfRows
The maximum number of rows that the collection view displays.
Declaration
var maxNumberOfRows: Int { get set }Discussion
When the value of this property is 0, the collection view has no maximum number of rows. The default value of this property is 0.
It is possible for a collection view to specify both a maximum number of rows and a maximum number of columns. If the number of content objects exceeds the number of displayable items (n=maxNumberOfRows * maxNumberOfColumns) only the first n items of the content array are displayed.