Get error SIGABRT with this log: "-[GKPlayerInternal setAuthenticateHandler:]: unrecognized selector sent to instance"
I test this on iPad 3 iOS 5.1.1
GKLocalPlayer* localPlayer = [GKLocalPlayer localPlayer];
localPlayer.authenticateHandler = ^(UIViewController *viewController, NSError *error) //error here
{ /* some code */ };
On iOS 6 this work fine
I'm glad you mentioned you're trying this with iOS 5.
According to Apple's documentation, "authenticateHandler" is iOS 6 and newer only.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With