我已经在应用程序中成功使用GKMatch很长一段时间了。我一直在追查并解决游戏偶尔停止的问题,并将其追踪到已发送但未收到的数据包。这种情况只是偶尔发生,但我似乎无法找出它发生的原因。所有消息都使用GKSendDataReliable发送。日志记录显示数据包已从一台设备成功发送,但目标设备从未收到。//Codesampleofsendingmethod....//self.model.matchisaGKMatchinstance-(BOOL)sendDataToAllPlayers:(NSData*)dataerror:(NSError**)error{[self.model.debu
我已经在应用程序中成功使用GKMatch很长一段时间了。我一直在追查并解决游戏偶尔停止的问题,并将其追踪到已发送但未收到的数据包。这种情况只是偶尔发生,但我似乎无法找出它发生的原因。所有消息都使用GKSendDataReliable发送。日志记录显示数据包已从一台设备成功发送,但目标设备从未收到。//Codesampleofsendingmethod....//self.model.matchisaGKMatchinstance-(BOOL)sendDataToAllPlayers:(NSData*)dataerror:(NSError**)error{[self.model.debu