Instance Property

playerID

A unique identifier associated with a player.

Declaration

var playerID: String? { get }

Discussion

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.