Adam
Adam

Reputation: 1486

iOS game center matchmaking, friends only?

I was just curious, is it possible to make a game center match that you can only invite friends to? (i.e. no random matchups) How would you code that?

Upvotes: 1

Views: 1235

Answers (3)

Qiau
Qiau

Reputation: 6175

What you want is probably to make a own custom GKMatchmakerViewController that only show friends during the match making.

Upvotes: 0

xuanweng
xuanweng

Reputation: 1939

It only works in OS 4.2.. which in my opinion would be a small group of people.. So just take note..

Here's the link: Link

Scroll all the way down and you will find your answer..

Upvotes: 0

Chris Wagner
Chris Wagner

Reputation: 21003

It looks like GKMatchRequest has the capability to do this using either the playerGroup or playersToInvite property.

Upvotes: 1

Related Questions