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

# requirePasswordForPurchases

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

```
var requirePasswordForPurchases: Bool? { get set }
```

## Discussion

Specify `true` to require the user’s password for each transaction. The value is `nil` if your app doesn’t configure this 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)