<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accessibility",
  "identifier" : "/documentation/Accessibility/AccessibilitySettings/openSettings(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Accessibility"
    ],
    "preciseIdentifier" : "s:So21AccessibilitySettingsV0A0E04openB03forySo17AXSettingsFeatureV_tYaKFZ"
  },
  "title" : "openSettings(for:)"
}
-->

# openSettings(for:)

Opens the Settings app to a specific section of Accessibility settings.

```
static func openSettings(for feature: AccessibilitySettings.Feature) async throws
```

## Discussion

Some app behaviors depend on a person turning on a specific Accessibility setting on their device.
You can use this method to open the Settings app to a specific Accessibility setting to help people turn it on more quickly, as shown in the following code example.

```swift
ContentView()
    .alert(
        "Use Personal Voice",
        isPresented: $showAlert
    ) {
        Button("Open Accessibility Settings") {
            Task {
                do {
                    try await AccessibilitySettings.openSettings(for: .personalVoiceAllowAppsToRequestToUse)
                } catch {
                    print("Error: \(error)")
                }
            }
        }
        Button("Cancel", role: .cancel) { }
    } message: {
        Text("To use this feature, turn on the Personal Voice > Allow Apps to Request to Use 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)