Posts

Post marked as solved
1 Replies
I was able to figure it out myself. There is no good answer to this question in Swift and the Apple Docs to this topic are more than confusing.Steps to make this work:Implementfunc player(_ player: GKPlayer, didAccept invite: GKInvite)]in the class of your choice and tell the class to implementGKLocalPlayerListenerIn the above mentioned method initialize theMatchmakingViewControllerwith theGKInviteinstance received from the method.Try it. MatchmakingViewController will show up und start your game immediately.For me it was quite hard to figure this out. Hope this post will help others.