---
title: denyInAppPurchases
framework: managedsettings
role: symbol
role_heading: Instance Property
path: managedsettings/appstoresettings/denyinapppurchases-swift.property
---

# denyInAppPurchases

A Boolean value that indicates whether to deny the user permission to make in-app purchases.

## Declaration

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

## Discussion

Discussion If your app doesn’t constrain this setting, the value is nil.

## See Also

### Denying In-App Purchases

- [denyInAppPurchases](managedsettings/appstoresettings/denyinapppurchases-swift.type.property.md)
