The score earned by the player.
- iOS 4.0+
- macOS 10.8+
- tvOS 9.0+
- watchOS 3.0+
You can use any algorithm you want to calculate scores in your game. Your game must set the
value property before reporting a score, otherwise an error is returned.
The value provided by a score object is interpreted by Game Center only when formatted for display. You determine how your scores are formatted when you define the leaderboard in App Store Connect.