문제

Do I have to look for updated match state once the "Your Turn" notification is received.

At present when the notification is received, I am opening the game centre with "findMatchWithMinPlayers...." and updating the game state.

And how can one know when its there turn and app is not in background, means no notification is displayed ?

I have gone through many posts, but still a lot of things are not clear to me.

Thanks.

도움이 되었습니까?

해결책

[GKTurnBasedEventHandler sharedTurnBasedEventHandler].delegate = self;

should be added to all method of GKTurnBasedMatchmakerViewControllerDelegate

Reason: Delegate session is losing focus. See the details here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top