我的应用程序突然收到此消息 –
<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"); } };
原文地址:https://www.jb51.cc/iOS/333865.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。