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

# denyBookstoreErotica

A Boolean value that indicates whether to deny media categorized as erotica in the Books store.

## Declaration

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

## Discussion

Discussion Use denyBookstoreErotica to deny the user permission to access media with an erotica tag in the Books store. If your app doesn’t configure this setting, the value is nil.

## See Also

### Constraining content in the Books app

- [denyBookstoreErotica](managedsettings/mediasettings/denybookstoreerotica-swift.type.property.md)
