我的应用程序突然收到此消息 –
<Info>: 22:20:44.800330 com.apple.AVConference: GKSConnSettings: set server: { "gk-cdx" = "17.173.254.218:4398"; "gk-commnat-cohort" = "17.173.254.220:16386"; "gk-commnat-main0" = "17.173.254.219:16384"; "gk-commnat-main1" = "17.173.254.219:16385"; }
它来自哪里?
解决方法
在iOS 6.0中,只要localPlayer经过身份验证(即设置),此日志就会显示出来
[GKLocalPlayer localPlayer].authenticateHandler = ^(UIViewController *viewController,NSError *error) { if (viewController != NULL) { // present the viewController now } else if ([GKLocalPlayer localPlayer].isAuthenticated) { NSLog(@"Already authenticated"); } else { NSLog(@"Not authenticated,disable GameCenter"); } };