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

# requirePasswordForPurchases

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

```
static let requirePasswordForPurchases: SettingMetadata<Bool>
```

## Discussion

Use `requirePasswordForPurchases` to access metadata for the [`requirePasswordForPurchases`](/documentation/ManagedSettings/AppStoreSettings/requirePasswordForPurchases-swift.property) setting.

---

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)