GKTurnBased User Information

Is there a way to get the player name from the GKTurnBasedParticipant object? There seems to be no way to display relevant information about the game player separately from the ugly player identifier in accordance with the class reference. Or am I missing something?

Thanks...

+6
source share
1 answer

Use the class method loadPlayersForIdentifiers:withCompletionHandler: class GKPlayer. You pass an array of player identifiers as NSString and get an array of full GKPlayer objects. Read the GKPlayer class reference for more details.

+8
source

Source: https://habr.com/ru/post/913312/


All Articles