setScore(on:to:context:)
Set a score of a leaderboard with a context for a player.
Declaration
func setScore(on leaderboard: GKLeaderboard, to score: Int, context: Int)Mentioned in
Discussion
The framewwork submits the score to the leaderboard when the activity ends.