我有一个使用iOS(v.1.1)的Google Game Play服务的应用程序。我有一个显示成就的按钮。在iOS 6上运行正常,但在iOS 7上出现此崩溃:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UITableViewWrapperView style]: unrecognized selector sent to instance 0x1b975750'
这是我的代码:
BOOL signedIn = [[GPGManager sharedInstance] hasAuthorizer];
if (signedIn) {
GPGAchievementController *achController = [[GPGAchievementController alloc] init];
achController.achievementDelegate = self;
[self presentViewController:achController animated:YES completion:nil];
}
有人在尝试这个问题吗?任何可能的解决方法?我在官方的Google Game Play Services文档中看不到任何信息。
最佳答案
如果崩溃发生在“presentViewController
”行,并且崩溃深深地存在于Google Play游戏服务SDK(您和我没有源代码访问权限)的肠道中,则您可能需要通过以下方式向他们提交错误: "Bug Tracker" link on this page。
看起来您(或某人做与您完全相同的事情)just reported it。 :-)