Contents

BrowserKit

Transfer browser data to another browser or check a device’s eligibility to use an alternative browser engine.

Overview

Use the BrowserKit framework to transfer data such as browsing history, bookmarks, and browser extensions from one browser to another, and to test whether a device is eligible to implement an alternative browser engine.

Test eligibility to use alternative browser engines

To test if a device supports alternative browser engines, call isEligible(for:completionHandler:) in a browser app that you develop with WebKit:

do {
  guard await BEAvailability.isEligible(for: .webBrowser) else { return } 
...  

If the device supports alternative browser engines, you can offer the person a download link to an alternative distribution of your app that uses the alternative browser engine. For more information about alternative distribution, see Distributing your app on an alternative app marketplace. For more information about developing or embedding alternative browser engines, see BrowserEngineKit.

Topics

Essentials

Data export management

Data import management

Browser data

Errors

Classes