The player identifier for the player that earned the score.
- iOS 4.1–8.0Deprecated
- macOS 10.8–10.10Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- watchOS 2.0–2.0Deprecated
When you initialize a new score object, the
player property is set to the identifier for the local player. If the score object was returned to your game by loading scores from Game Center, the
player property identifies the player who recorded that score.