<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKLocalPlayer/fetchSavedGames(completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:objc(cs)GKLocalPlayer(im)fetchSavedGamesWithCompletionHandler:"
  },
  "title" : "fetchSavedGames(completionHandler:)"
}
-->

# fetchSavedGames(completionHandler:)

Retrieves all available saved games.

```
func fetchSavedGames(completionHandler handler: (@Sendable ([GKSavedGame]?, (any Error)?) -> Void)? = nil)
```

## Parameters

`handler`

The block that this method calls when it completes the request.

    The block receives the following parameters:

- savedGames: An array of saved games that GameKit fetches.
- error: Describes an error if it occurs, or `nil` if the operation completes.

## Discussion

If more than one saved game has the same filename, a conflict occurs and you must choose which saved game filename is correct using the [`resolveConflictingSavedGames(_:with:completionHandler:)`](/documentation/GameKit/GKLocalPlayer/resolveConflictingSavedGames(_:with:completionHandler:)) method.

---

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)