I want to use GameCenter
MatchMakerViewController
to invite friends to my Multiplayer Real-Time-Game. When inviting a friend he receives a link via iMessage with the invitation. When clicking on that link I want to handle the invitation, but right now I'm not sure how to do so.In previous threads the inviteHandler was used to receive an event for an incoming invitation, but in the Apple Docs this method is marked as deprecated.
Reading through the docs I found this method, but I failed trying to implement it. Before putting more effort into the implementation I wanted to know if I am choosing the right approach for handling game center invitations? Does anybody know the right way after apple deprecated the
inviteHandler
?Thank you!
PS: Same question asked here: https://stackoverflow.com/questions/61105332/how-do-i-handle-an-invitation-link-from-a-game-center-game