<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "ManagedSettings",
  "identifier" : "/documentation/ManagedSettings/MediaSettings/maximumMovieRating-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Managed Settings"
    ],
    "preciseIdentifier" : "s:15ManagedSettings05MediaB0V18maximumMovieRatingSiSgvp"
  },
  "title" : "maximumMovieRating"
}
-->

# maximumMovieRating

The maximum movie rating the user may view.

```
var maximumMovieRating: Int? { get set }
```

## Discussion

If your app doesn’t configure this setting, the value is `nil`.
The following list provides U.S. descriptions for the ratings:

- `1000`: All
- `500`: NC-17
- `400`: R
- `300`: PG-13
- `200`: PG
- `100`: G
- `0`: None

---

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)