Instance Property

alias

A string chosen by the player to identify themselves to other players.

Declaration

iOS, tvOS, watchOS
@property(readonly, copy, nonatomic) NSString *alias;
macOS
@property(readonly, copy, atomic) NSString *alias;

Discussion

A player’s alias is used when a player is not 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

Player Details

displayName

A string to display for the player.

isFriend

A Boolean value that indicates whether this player is a friend of the local player.

Deprecated