---
title: shouldSetDefaultLeaderboard
framework: gamekit
role: symbol
role_heading: Instance Property
path: gamekit/gkscore/shouldsetdefaultleaderboard
---

# shouldSetDefaultLeaderboard

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

## Declaration

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

## Discussion

Discussion If the value of this property is 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 property of the score object. This matches the behavior of the GKLeaderboard class’s setDefault(_:withCompletionHandler:) class method. If the value of this property is false, the default leaderboard is not changed by reporting the score. The default value of this property is false.

## See Also

### Deprecated Methods and Properties

- [category](gamekit/gkscore/category.md)
- [context](gamekit/gkscore/context.md)
- [date](gamekit/gkscore/date.md)
- [formattedValue](gamekit/gkscore/formattedvalue.md)
- [leaderboardIdentifier](gamekit/gkscore/leaderboardidentifier.md)
- [player](gamekit/gkscore/player.md)
- [rank](gamekit/gkscore/rank.md)
- [value](gamekit/gkscore/value.md)
- [init(leaderboardIdentifier:)](gamekit/gkscore/init(leaderboardidentifier:).md)
- [init(leaderboardIdentifier:player:)](gamekit/gkscore/init(leaderboardidentifier:player:).md)
- [init(category:)](gamekit/gkscore/init(category:).md)
- [init(leaderboardIdentifier:forPlayer:)](gamekit/gkscore/init(leaderboardidentifier:forplayer:).md)
- [issueChallenge(toPlayers:message:)](gamekit/gkscore/issuechallenge(toplayers:message:).md)
- [playerID](gamekit/gkscore/playerid.md)
- [report(completionHandler:)](gamekit/gkscore/report(completionhandler:).md)
