使用此日志获取错误 SIGABRT:“-[GKPlayerInternal setAuthenticateHandler:]: unrecognized selector sent to instance”
我在 iPad 3 iOS 5.1.1 上对此进行了测试
GKLocalPlayer* localPlayer = [GKLocalPlayer localPlayer];
localPlayer.authenticateHandler = ^(UIViewController *viewController, NSError *error) //error here
{ /* some code */ };
在 iOS 6 上这个工作正常