I'm writing the multiplayer part of a turn based game,i'm using game center to manage the matches. Starting a new game with GKTurnBasedMatch do not send immediatly the invite notification to the other player. To send the notification i have to made my move and end first turn... Can i modify this behaviour? I wanna made my first turn only if the other player has already accept my invitation.
You can check the status
property of the other participant who is of class GKTurnBasedParticipant
. If its status continues to be GKTurnBasedParticipantStatusInvited
, forbid yourself from opening the game controller and display an alert.