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

# denyExplicitContent

A Boolean value that indicates whether to prevent the user from accessing explicit content.

```
var denyExplicitContent: Bool? { get set }
```

## Discussion

Use `denyExplicitContent` to hide music and video content that has an *explicit* tag.
If your app doesn’t configure this setting, the value is `nil`.

---

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)