AppMigrationKit lets your app participate in data export and import when users migrate apps between devices or platforms on iOS. You build an app extension that conforms to AppMigrationExtension and implement the ResourcesExporting and ResourcesImporting protocols to package and restore your app's data, using types such as ResourcesArchiver, MigrationDataContainer, and ResourcesImportRequest to move resources across a MigrationPlatform. The framework also models the migration request and its lifecycle through MigrationRequestWithOptions, MigrationStatus, and MigrationDefaultSupportedOptions, and provides AppMigrationTester to exercise your extension.
Essentials 1
The app extension entry point your app implements to take part in migration.
- PrAppMigrationExtensioniOS 26.0+An app extension you extend to participate in data export and import.
Exporting Resources 3
Protocols and an archiver you use to package your app's data for export.
- PrResourcesExportingiOS 26.0+A protocol for exporting transportable resources in a streaming archive format when the destination platform doesn't require special migration options.
- PrResourcesExportingWithOptionsiOS 26.0+A protocol for exporting transportable resources in an archive format.
- ClResourcesArchiveriOS 26.0+An object your app uses to archive resources during an export operation.
Importing Resources 2
The protocol and request type you use to restore your app's data on the destination.
- PrResourcesImportingiOS 26.0+A protocol for exporting transportable resources in a streaming archive format.
- StResourcesImportRequestiOS 26.0+A type that exposes properties of the resources import request.
Migration Data and Targets 3
Value types that identify the app, carry its data, and describe the destination platform.
- StMigrationAppIdentifieriOS 26.0+A type that identifies an app on a different platform.
- StMigrationDataContaineriOS 26.0+An object describing an app's data container
- StMigrationPlatformiOS 26.0+A type that identifies the platform used by the other device in a migration.
Requests and Status 3
Types that model a migration request, its options, and its lifecycle.
- StMigrationRequestWithOptionsiOS 26.0+An object that exposes properties of the migration request.
- EnMigrationDefaultSupportedOptionsiOS 26.0+Options supported by default for migration requests.
- EnMigrationStatusiOS 26.0+A type the containing app uses to determine the status of a completed import.
Testing 1
A utility for exercising your migration extension during development.
- AcAppMigrationTesteriOS 26.0+A test-only type your app uses to test app migration extensions.
Type Aliases 1
- TyMigrationRequestA migration request that uses the default supported options.