<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameSave",
  "identifier" : "/documentation/GameSave/GameSaveSyncedDirectory/finishSyncing(statusDisplay:)-500el",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "GameSave"
    ],
    "preciseIdentifier" : "s:8GameSave0aB15SyncedDirectoryC13finishSyncing13statusDisplayySo8UIWindowC_tYaF"
  },
  "title" : "finishSyncing(statusDisplay:)"
}
-->

# finishSyncing(statusDisplay:)

Waits for the directory sync to complete, showing the sync’s progress in a modal alert.

```
func finishSyncing(statusDisplay window: UIWindow) async
```

## Parameters

`window`

The window where the system shows progress and alerts.

## Discussion

If the sync results in a conflict, the framework displays a conflict resolution UI
for the user to chose a version that will be used.
If the user isn’t signed in to iCloud or iCloud drive,
the framework informs the user and then switches to local saving.

---

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)