---
title: "openExtensionsSettings(forIdentifiers:completionHandler:)"
framework: safariservices
role: symbol
role_heading: Type Method
path: "safariservices/sfsafarisettings/openextensionssettings(foridentifiers:completionhandler:)"
---

# openExtensionsSettings(forIdentifiers:completionHandler:)

Presents the extensions pane from Safari Settings.

## Declaration

```swift
class func openExtensionsSettings(forIdentifiers extensionIdentifiers: [String], completionHandler: (@MainActor @Sendable ((any Error)?) -> Void)? = nil)
```

```swift
class func openExtensionsSettings(forIdentifiers extensionIdentifiers: [String]) async throws
```

## Parameters

- `extensionIdentifiers`: An array of extension identifiers. If the value is a single identifier, Settings opens to that extension’s detail view. If you specify multiple identifiers, Settings opens to the Safari Extensions pane with the specified extensions selected.
- `completionHandler`: A block the system calls after the operation completes, with an optional error parameter.

## Discussion

Discussion The method returns an error unless you call it while your app is in the foreground.
