---
title: denyExplicitContent
framework: managedsettings
role: symbol
role_heading: Instance Property
path: managedsettings/mediasettings/denyexplicitcontent-swift.property
---

# denyExplicitContent

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

## Declaration

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

## Discussion

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.

## See Also

### Denying explicit media

- [denyExplicitContent](managedsettings/mediasettings/denyexplicitcontent-swift.type.property.md)
