How to I receive and handle a GKInvite and create a GKMatch using that. I already have this code working:
Also how do I continue if the match is ready to start and dismiss the GKMatchmakerViewController.
Thanks!
Code Block let matchRequest = GKMatchRequest() matchRequest.minPlayers = 2 matchRequest.maxPlayers = 2 matchRequest.defaultNumberOfPlayers = 2 guard let matchMakingVC = GKMatchmakerViewController(matchRequest: matchRequest) else { return } matchMakingVC.delegate = self self.present(matchMakingVC, animated: true, completion: nil)
Also how do I continue if the match is ready to start and dismiss the GKMatchmakerViewController.
Thanks!