Instance Property

isFriend

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

Declaration

iOS, watchOS
@property(readonly, nonatomic) BOOL isFriend;
macOS
@property(readonly, atomic) BOOL isFriend;

Discussion

Players use the Game Center app to declare other players as friends.

See Also

Player Details

alias

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

displayName

A string to display for the player.