GKMatchmakerViewController - how to detect pressing “Play Now”
-
24-05-2021 - |
Domanda
Is there a way to detect when "Play Now" button in GKMatchmakerViewController pressed?
All I can find in ref docs are:
– matchmakerViewController:didFindMatch:
– matchmakerViewController:didFindPlayers:
– matchmakerViewControllerWasCancelled:
– matchmakerViewController:didFailWithError:
– matchmakerViewController:didReceiveAcceptFromHostedPlayer:
Soluzione
No, the view controller doesn't invoke a delegate method for that event. What do you intend to do with that information? Game Center's matchmaking is largely opaque, so as far as I know there's no way to influence the matchmaking process at that point.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow