Contents

localPlayerScore

The score that the local player earns.

Declaration

var localPlayerScore: GKScore? { get }

Discussion

This property is invalid until a call to loadScores(completionHandler:) is complete. Afterward, it contains a score object representing the local player’s score on the leaderboard according to the filters you apply to the query.

See Also

Deprecated properties