<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserKit",
  "identifier" : "/documentation/BrowserKit/BEBrowserDataImportManager/requestImport(for:completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "BrowserKit"
    ],
    "preciseIdentifier" : "c:objc(cs)BEBrowserDataImportManager(im)requestImportForMetadata:completionHandler:"
  },
  "title" : "requestImport(for:completionHandler:)"
}
-->

# requestImport(for:completionHandler:)

Requests that the system display the sheet to import data from another browser.

```
func requestImport(for metadata: BEImportMetadata, completionHandler: @escaping @Sendable (BEImportOptions?, (any Error)?) -> Void)
```

```
func requestImport(for metadata: BEImportMetadata) async throws -> BEImportOptions
```

## Parameters

`metadata`

Metadata that describes the import capabilities, including file import support.

`completionHandler`

A closure that the system calls and provides the import options, which contain the person’s selections in the sheet.

## Discussion

Call this method when someone interacts with your browser app’s UI to import browsing data from another browser app.

This method provides your completion handler an option that indicates whether the person requests loading browsing data from files rather than directly from another browser on the device.

---

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)