How to authenticate the GKLocalPlayer on my 'third party server'?
问题 iOS7 introduced new GKLocalPlayer method generateIdentityVerificationSignatureWithCompletionHandler() . Does anyone know how to use it for good? I assume there will be some public API at Apple server-side.. 回答1: Here is how you can authenticate using objective c. If you need it in another language should be trivial to translate. -(void)authenticate { __weak GKLocalPlayer *localPlayer = [GKLocalPlayer localPlayer]; localPlayer.authenticateHandler = ^(UIViewController *viewController, NSError