GameKit GKMatchMaker inviteHandler deprecated in iOS7, what is the replacement?
问题 [GKMatchmaker sharedMatchmaker].inviteHandler is deprecated in iOS 7, yet the GameKit guides still say to set it up that way. Does anyone know what we're supposed to be using for iOS 7 real time game invites? There are new classes / methods for several listener classes, but none address this specifically that I have seen. 'inviteHandler' is deprecated: first deprecated in iOS 7.0 回答1: It looks like the intended replacement is the GKInviteEventListener protocol. You can see a reference to it