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

# exportBrowserData:completionHandler:

Exports the given browser data with the given completion handler.

```
- (void) exportBrowserData:(BEBrowserData *) browserData completionHandler:(void (^)(NSError *)) completionHandler;
```

## Parameters

`browserData`

An asynchronous stream of browser data items to export.

`completionHandler`

A closure that the system calls when the export completes or fails.

## Discussion

Call this method to stream browsing data to the system, as identified by [`dataTypes`](/documentation/BrowserKit/BEExportOptions/dataTypes-swift.property).

Use this method after [`requestExport(for:token:completionHandler:)`](/documentation/BrowserKit/BEBrowserDataExportManager/requestExport(for:token:completionHandler:)) returns an [`BEExportOptions`](/documentation/BrowserKit/BEExportOptions) with [`exportToFiles`](/documentation/BrowserKit/BEExportOptions/exportToFiles) = `false`, or when the system launches your app as part of the transfer of browsing data to another browser.

For more information, see [Transferring browsing data to another browser](/documentation/BrowserKit/transferring-browsing-data-to-another-browser).

---

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)