range
The numerical score rankings to return from the search.
Declaration
var range: NSRange { get set }Discussion
GameKit ignores the range property if the leaderboard request initializes using the init(playerIDs:) method. Otherwise, the range property filters which scores to return to your game. For example, if you specify a range of [1,10], when the search completes, your game receives the best ten scores. The default range is [1,25].
The minimum index is 1. The maximum length is 100.