Reputation: 18855
Is there any way of retrieving the player's name from a GKTurnBasedParticipant object? It appears that there is no way of displaying relevant information about the game player apart from an ugly playerID according to the class reference. Or am I missing something?
Thanks...
Upvotes: 6
Views: 676
Reputation: 26937
Use loadPlayersForIdentifiers:withCompletionHandler:
class method of GKPlayer. You pass an array of player ids as NSString and get an array of full GKPlayer objects.
Read GKPlayer Class Reference for more information.
Upvotes: 8