Instance Property


A unique identifier associated with a player.


var playerID: String? { get }


This property when accessed by GKLocalPlayer displays the user's Game Center account name, which is created on account creation. When this property is accessed by GKCloudPlayer, a unique identifier is returned that is created for each app / container combination.

See Also

Identifying a Player

var displayName: String?

The Game Center profile name associated with a player.