<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppMigrationKit",
  "identifier" : "/documentation/AppMigrationKit/AppMigrationTester/AppImportController/registerImportCompletion(with:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppMigrationKit"
    ],
    "preciseIdentifier" : "s:15AppMigrationKit0aB6TesterC0A16ImportControllerC08registerE10Completion4withyAA0B6StatusO_tYaKF"
  },
  "title" : "registerImportCompletion(with:)"
}
-->

# registerImportCompletion(with:)

Tells your app that import completed with a given status.

```
final func registerImportCompletion(with status: MigrationStatus) async throws
```

## Parameters

`status`

A status value that indicates success or failure of the import.

## Discussion

Use this method in a unit test to evaluate how your app handles a post-migration launch.
You can uses success or failure statuses to see the different messages presented to the person using the app.

---

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)