次のログでエラー SIGABRT を取得します: "-[GKPlayerInternal setAuthenticateHandler:]: unrecognized selector sent to instance"
これをiPad 3 iOS 5.1.1でテストしました
GKLocalPlayer* localPlayer = [GKLocalPlayer localPlayer]; localPlayer.authenticateHandler = ^(UIViewController *viewController, NSErrorエラー) //ここでエラー { /コード */ }; iOS 6 ではこれは正常に動作します。 setAuthenticateHandler: は iOS6 でのみ使用可能ですが、iOS5 と iOS6 の両方を同時にサポートするにはどうすればよいですか