<!--
{
  "availability" : [
    "iOS: 5.0.0 - 14.0.0",
    "iPadOS: 5.0.0 - 14.0.0",
    "macCatalyst: 13.1.0 - 14.0.0",
    "macOS: 10.8.0 - 11.0.0",
    "tvOS: 9.0.0 - 14.0.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 3.0.0 - 7.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKScore/shouldSetDefaultLeaderboard",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:objc(cs)GKScore(py)shouldSetDefaultLeaderboard"
  },
  "title" : "shouldSetDefaultLeaderboard"
}
-->

# shouldSetDefaultLeaderboard

A Boolean value that indicates whether this score should also update the default leaderboard.

```
var shouldSetDefaultLeaderboard: Bool { get set }
```

## Discussion

If the value of this property is <doc://com.apple.documentation/documentation/Swift/true>, when the score is reported to Game Center, Game Center also updates the local player’s default leaderboard to match the value stored in the [`leaderboardIdentifier`](/documentation/GameKit/GKScore/leaderboardIdentifier) property of the score object. This matches the behavior of the [`GKLeaderboard`](/documentation/GameKit/GKLeaderboard) class’s [`setDefault(_:withCompletionHandler:)`](/documentation/GameKit/GKLeaderboard/setDefault(_:withCompletionHandler:)) class method. If the value of this property is <doc://com.apple.documentation/documentation/Swift/false>, the default leaderboard is not changed by reporting the score. The default value of this property is <doc://com.apple.documentation/documentation/Swift/false>.

---

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)