<!--
{
  "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/GKSavedGameListener/player(_:hasConflictingSavedGames:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:objc(pl)GKSavedGameListener(im)player:hasConflictingSavedGames:"
  },
  "title" : "player(_:hasConflictingSavedGames:)"
}
-->

# player(_:hasConflictingSavedGames:)

Chooses the correct game data from the saved games that contain conflicts.

```
optional func player(_ player: GKPlayer, hasConflictingSavedGames savedGames: [GKSavedGame])
```

## Parameters

`player`

The player who saves the game data.

`savedGames`

The saved games that contain the conflicts.

## Discussion

Saved game files conflict when multiple devices write to the same file while one or more of the devices are offline. Implement this method to choose the game data that’s correct and try saving it again 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)