I have been developing a game which allows for multiplayer matches. I had previous tested the multiplayer invitations and they had all worked. Sending a request from one d
The only way I could make invites-by-name work is by going to Settings/Notifications/Game Center
and making Game Center display Alerts, not Banners.
If you have GC display alerts, you get a popup box like this:
This dialog acts like a big parent. If the user hits Accept
, then your [GKMatchmaker sharedMatchmaker].inviteHandler
gets invoked.
If the user hits Decline
, then your game never knows that he was invited to any party ever. User hitting Decline
means the parent rips up the invitation and never tells his child he got invited to a game at all.
This is the only way I could get invite-by-name to work.