iOS Development: Should the "playersToInvite" property contain an array of strings or an array of GKPlayer objects?
Posted
by
BeachRunnerJoe
on Stack Overflow
See other posts from Stack Overflow
or by BeachRunnerJoe
Published on 2011-01-08T16:50:06Z
Indexed on
2011/01/08
16:53 UTC
Read the original article
Hit count: 186
Should the playersToInvite
property of the GKMatchRequest
object contain an array of NSString objects that hold the player id's or should it contain an array of GKPlayer objects? The documentation on this critical property is not clear at all and I've tried both ways, but my code isn't working, so I can't tell by experimentation.
Here's the description for that property in the docs...
A list of players to invite to the match.
Why did they even bother writing that?
Thanks for your help!
© Stack Overflow or respective owner