Contents

minimumVisibleRowCount

The minimum number of visible rows to display.

Declaration

var minimumVisibleRowCount: Int { get set }

Discussion

Set this property to ensure that the widget’s list displays a minimum number of rows. The default value of this property is 0.

If the value of minimumVisibleRowCount is nonzero and the number of items in contents is greater than this value, the list view controller displays the minimum number of rows and adds a “Show More…” button.

See Also

Customizing the List Appearance