ios - Google Play 游戏服务 iOS : [UITableViewWrapperView style]: unrecognized selector sent to instance

标签 ios objective-c google-play ios7 google-play-games

我有一个使用适用于 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 服务文档中没有看到任何信息。

最佳答案

如果崩溃发生在“presentViewController”行,并且崩溃发生在 Google Play 游戏服务 SDK 的深处(您和我都没有源代码访问权限),您可能需要通过 "Bug Tracker" link on this page 向他们提交错误.

它看起来像你(或与你做同样事情的人)just reported it . :-)

关于ios - Google Play 游戏服务 iOS : [UITableViewWrapperView style]: unrecognized selector sent to instance,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19068385/

相关文章:

iphone - 如何开发科学计算器

objective-c - Objective-C 只读属性是否需要指定 strong 或 copy?

android - 从浏览器链接打开 Play 商店应用

google-play - 通过 Android Management Api 或设备所有者 locktask 开发 Cosu 应用程序

ios - Xcode 显示两个 pods 目录。如何删除一个目录

ios - NSUserDefaults 创建全局可访问的变量

ios - 我需要制作一个同时显示文本和图像的 UISegmentedControl

ios - App Thinning - 如果开发人员未提供所有 Assets ,它是如何工作的

ios - 如何使用 Objective-C 实现 LocalNotification?

android - 如何使用 google play 商店上的多个 apk 支持将 apk 限制在手机和平​​板电脑上?