The player identifier for the player that earned the score.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
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.