GameCenter Invitation Handler
trying to implement a multiplayer. Using the sample from Game Center - Sending and receiving data . Everything seems okay, but in apple documentation there is also said about invitation handler. [GKMatchmaker sharedMatchmaker].inviteHandler = ^(GKInvite *acceptedInvite, NSArray *playersToInvite) { // Insert application-specific code here to clean up any games in progress. if (acceptedInvite) { GKMatchmakerViewController *mmvc = [[[GKMatchmakerViewController alloc] initWithInvite:acceptedInvite] autorelease]; mmvc.matchmakerDelegate = self; [self presentModalViewController:mmvc animated:YES]; }