Contents

playerScope

A filter that restricts the search to a subset of the players in Game Center.

Declaration

var playerScope: GKLeaderboard.PlayerScope { get set }

Discussion

GameKit ignores the playerScope property if the leaderboard request initializes using the init(playerIDs:) method. Otherwise, the playerScope property determines which players to include in the request for high scores. The default is GKLeaderboard.PlayerScope.global. See GKLeaderboard.PlayerScope for more information.

See Also

Deprecated properties