iOS 6.0上的GKSession无法';见';关于iOS5.1的会议
刚刚注意到在运行iOS6和iOS5.1的设备上测试GKsession时出现了一些奇怪的行为。在sessionMode:GKSessionModePeer中使用相同会话ID的本地无线网络上的GKsession似乎可以在6.0到5.1之间正常工作,但反过来就不行了。i、 e在6.0上创建的会话被5.1“看到”,但不是相反iOS 6.0上的GKSession无法';见';关于iOS5.1的会议,ios5,ios6,game-center,wireless,gksession,Ios5,Ios6,Game Center,Wireless,Gksession,刚刚注意到在运行iOS6和iOS5.1的设备上测试GKsession时出现了一些奇怪的行为。在sessionMode:GKSessionModePeer中使用相同会话ID的本地无线网络上的GKsession似乎可以在6.0到5.1之间正常工作,但反过来就不行了。i、 e在6.0上创建的会话被5.1“看到”,但不是相反 self.theGame.hostListSession = [[GKSession alloc] initWithSessionID:@"FRED"
self.theGame.hostListSession = [[GKSession alloc] initWithSessionID:@"FRED"
displayName:[KYTConfig sharedInstance].localPlayerAlias
sessionMode:GKSessionModePeer];
[self.theGame.hostListSession setDelegate:self];
[self.theGame.hostListSession setDataReceiveHandler:self withContext:nil];
[self.theGame.hostListSession setAvailable:YES];
还有其他人经历过这种情况或知道任何解决方法吗?感谢saulobrito确认它适合您。这促使我清理、构建并重新安装游戏中心框架,问题消失了。我做了一些测试,并在这里正常工作:iPad 1 5.1作为服务器连接到iPhone 4s 6.0。