Instance Property


An array of NSString objects containing the player identifiers for remote players in the match.


@property(nonatomic, readonly) NSArray<NSString *> *playerIDs;


The playerIDs property initially includes the player identifiers for any remote players already connected to the match; the array may initially be empty. As each new player connects to the match, that player’s identifier is added to the array. The player identifier for the local player is not included in this array.

See Also

Deprecated Methods and Properties

- chooseBestHostPlayerWithCompletionHandler:

Determines the best player in the game to act as the server for a client-server match.

- sendData:toPlayers:withDataMode:error:

Transmits data to a list of connected players.


Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software