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

# BEBrowserDataExportManager

A class that handles exporting browsing data to other browsers.

```
class BEBrowserDataExportManager
```

## Overview

This class coordinates the transfer of browsing data by presenting an *export sheet* when someone exports data through your app’s UI (see [`requestExport(for:token:completionHandler:)`](/documentation/BrowserKit/BEBrowserDataExportManager/requestExport(for:token:completionHandler:))). Call this class’s [`exportBrowserData:completionHandler:`](/documentation/BrowserKit/BEBrowserDataExportManager/exportBrowserData:completionHandler:) to stream browsing data to the system. For more information and details about the export sheet, see [Transferring browsing data to another browser](/documentation/BrowserKit/transferring-browsing-data-to-another-browser).

## Topics

### Creating an export manager

[`init(scene: UIWindowScene)`](/documentation/BrowserKit/BEBrowserDataExportManager/init(scene:))

Initializes an export manager with your app’s window scene.

### Exporting browser data

[`func exportBrowserData(AsyncStream<BEBrowserData>) async throws`](/documentation/BrowserKit/BEBrowserDataExportManager/exportBrowserData(_:))

Exports the given browser data.

[`func requestExport(for: BEExportMetadata, token: UUID?, completionHandler: (BEExportOptions?, (any Error)?) -> Void)`](/documentation/BrowserKit/BEBrowserDataExportManager/requestExport(for:token:completionHandler:))

Requests that the system display the browsing-data transfer sheet to export data to another browser.

[`- (void) exportBrowserData:(BEBrowserData *) browserData completionHandler:(void (^)(NSError *)) completionHandler;`](/documentation/BrowserKit/BEBrowserDataExportManager/exportBrowserData:completionHandler:)

Exports the given browser data with the given completion handler.

[`- (void) exportFinishedWithCompletionHandler:(void (^)(NSError *)) completionHandler;`](/documentation/BrowserKit/BEBrowserDataExportManager/exportFinishedWithCompletionHandler:)

A callback the system invokes when an export of browsing data completes.

### Managing export tokens

[`static var exportTokenUserInfoKey: String`](/documentation/BrowserKit/BEBrowserDataExportManager/exportTokenUserInfoKey-1y5l1)

A key for accessing the data transfer token in the export launch activity’s info dictionary.

[`class let exportTokenUserInfoKey: String`](/documentation/BrowserKit/BEBrowserDataExportManager/exportTokenUserInfoKey-7e56u)

A key for accessing the data transfer token in the export launch activity’s info dictionary.

[`static var userActivityType: String`](/documentation/BrowserKit/BEBrowserDataExportManager/userActivityType-4ar5j)

A constant that identifies the launch activity for data export requests.

[`class let userActivityType: String`](/documentation/BrowserKit/BEBrowserDataExportManager/userActivityType-g862)

A constant that identifies the launch activity for data export requests.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Hashable`](/documentation/Swift/Hashable)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)