I know this function is being called when the current player resigns from a game:
func turnBasedMatchmakerViewController(viewController: GKTurnBasedMatchmakerViewController, playerQuitForMatch match: GKTurnBasedMatch) {
print("playerquitformatch, \(match), \(match.currentParticipant)")
for part in match.participants! {
(part ).matchOutcome = .Quit
}
match.endMatchInTurnWithMatchData(match.matchData!, completionHandler: nil)
}
What function is being called when a player swipe to left and remove the game? which most likely all Game Center players do instead of respectfully resigning