<!--
{
  "availability" : [
    "macOS: 10.10.0 - 11.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "NotificationCenter",
  "identifier" : "/documentation/NotificationCenter/NCWidgetListViewController/minimumVisibleRowCount",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Notification Center"
    ],
    "preciseIdentifier" : "c:objc(cs)NCWidgetListViewController(py)minimumVisibleRowCount"
  },
  "title" : "minimumVisibleRowCount"
}
-->

# minimumVisibleRowCount

The minimum number of visible rows to display.

```
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`](/documentation/NotificationCenter/NCWidgetListViewController/contents) is greater than this value, the list view controller displays the minimum number of rows and adds a “Show More…” button.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)