I have the following code that I have been using before to handle invitations:
[GKMatchmaker sharedMatchmaker].inviteHandler = ^(GKInvite *acceptedInvite, NS
Also, invites only work on the devices. I could not get invites to work in the simulator in iOS 8.1.