Contents

exportResources(to:request:)

Exports resources from the app, in response to a request from the migration system.

Declaration

func exportResources(to archiver: sending ResourcesArchiver, request: MigrationRequestWithOptions<Self.OptionsType>) async throws

Parameters

  • archiver:

    An archiver to receive files from your app. Call Appenditem(at:pathinarchive:) with each item to export.

  • request:

    A request object that describes the destination of the migration.

Discussion

Implement this method in your app extension to export files from your app to the destination device.

See Also

Exporting resources