Gestor de invitaciones GKMatchMaker en desuso
Tengo el siguiente código que he estado usando antes para manejar las invitaciones:
[GKMatchmaker sharedMatchmaker].inviteHandler = ^(GKInvite *acceptedInvite, NSArray *playersToInvite) {
// Insert game-specific code here to clean up any game in progress.
if (acceptedInvite) {
GKMatchmakerViewController *mmvc = [[GKMatchmakerViewController alloc] initWithInvite:acceptedInvite];
mmvc.matchmakerDelegate = self;
[self presentViewController:mmvc animated:YES completion:nil];
}
};
Sin embargo, ahora ha quedado en desuso eniOS 7
. Dónde ycómo ¿Registro un controlador de invitaciones GameKit en mi proyecto?