iOS Development: Strange problem with authenticating Game Center user
问题 I'm building an iPhone game that supports Game Center (GC). When the app launches, I try to authenticate the local player... if([GKLocalPlayer localPlayer].authenticated == NO) { [[GKLocalPlayer localPlayer] authenticateWithCompletionHandler:^(NSError *error) { [self callDelegateOnMainThread: @selector(processGameCenterAuth:) withArg: NULL error: error]; }]; } Everything seemed to be working well. If the user wasn't signed into GC when the app launched, the app would display a dialog box