Contents

alias

A string the player chooses to identify themself to other players.

Declaration

var alias: String { get }

Discussion

GameKit uses the player’s alias when a player isn’t a friend of the local player. Typically, you never display the alias string directly in your user interface. Instead use the displayName property.

See Also

Accessing player details