Contents

setScore(on:to:)

Set a score of a leaderboard for a player.

Declaration

func setScore(on leaderboard: GKLeaderboard, to score: Int)

Discussion

The framewowrk submits the score to the leaderboard when the activity ends.

See Also

Getting and removing leaderboard scores