<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "ManagedSettings",
  "identifier" : "/documentation/ManagedSettings/AppStoreSettings",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Managed Settings"
    ],
    "preciseIdentifier" : "s:15ManagedSettings08AppStoreB0V"
  },
  "title" : "AppStoreSettings"
}
-->

# AppStoreSettings

Constraints on a user’s App Store settings.

```
struct AppStoreSettings
```

## Overview

Use `AppStoreSettings` to manage a user’s App Store settings.
You can set a maximum age rating for apps, deny in-app purchases, and require passwords for purchases.

## Topics

### Denying In-App Purchases

[`var denyInAppPurchases: Bool?`](/documentation/ManagedSettings/AppStoreSettings/denyInAppPurchases-swift.property)

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

[`static let denyInAppPurchases: SettingMetadata<Bool>`](/documentation/ManagedSettings/AppStoreSettings/denyInAppPurchases-swift.type.property)

The metadata associated with the setting to deny in-app purchases.

### Setting an app rating limit

[`var maximumRating: Int?`](/documentation/ManagedSettings/AppStoreSettings/maximumRating-swift.property)

The maximum app rating the user can download.

[`static let maximumRating: BoundedSettingMetadata<Int>`](/documentation/ManagedSettings/AppStoreSettings/maximumRating-swift.type.property)

The metadata associated with the maximum app rating setting.

### Requiring a password

[`var requirePasswordForPurchases: Bool?`](/documentation/ManagedSettings/AppStoreSettings/requirePasswordForPurchases-swift.property)

A Boolean value that indicates whether to require the user’s password to make App Store transactions.

[`static let requirePasswordForPurchases: SettingMetadata<Bool>`](/documentation/ManagedSettings/AppStoreSettings/requirePasswordForPurchases-swift.type.property)

The metadata associated with the setting that requires a password for App Store purchases.

## Relationships

### Conforms To

[`ManagedSettingsGroup`](/documentation/ManagedSettings/ManagedSettingsGroup)

---

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)