<!--
{
  "availability" : [
    "iOS: 8.4.0 - 14.0.0",
    "iPadOS: 8.4.0 - 14.0.0",
    "macCatalyst: 13.1.0 - 14.0.0",
    "visionOS: 1.0.0 - 1.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "MediaPlayer",
  "identifier" : "/documentation/MediaPlayer/MPPlayableContentManagerContext/enforcedContentItemsCount",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Media Player"
    ],
    "preciseIdentifier" : "c:objc(cs)MPPlayableContentManagerContext(py)enforcedContentItemsCount"
  },
  "title" : "enforcedContentItemsCount"
}
-->

# enforcedContentItemsCount

Returns the number of content items to display during content limiting.

```
var enforcedContentItemsCount: Int { get }
```

## Discussion

This property returns <doc://com.apple.documentation/documentation/ObjectiveC/NSIntegerMax> when the content server doesn’t limit the maximum number of items.

---

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)