启动 OpenFeint 成就页面时应用程序崩溃
所以我试图制作一个启动 OpenFeint 成就页面的按钮,但它总是使我的应用程序崩溃。 当我按下按钮时,它不会立即崩溃,首先它显示正在加载成就页面大约 5 秒,然后崩溃。 要启动成就页面,我使用以下方法:
[OpenFeint launchDashboardWithAchievementsPage];
当我启动特定的排行榜页面,甚至从仪表板转到成就页面(而不是我的自定义成就按钮)时,它不会崩溃。
但是 XCode 确实给了我关于成就页面启动方法和排行榜页面启动方法的警告,它说 OpenFeint 可能不会响应该方法。
顺便说一下我的排行榜页面启动方法:
[OpenFeint launchDashboardWithHighscorePage:@"ID"];
So I'm trying to make a button that launches the OpenFeint achievements page, but it always makes my app crash.
When I press the button it doesn't instantly crash, first it shows that it is loading the achievements page for about 5 seconds, and then crash.
To launch the achievements page, I use this method:
[OpenFeint launchDashboardWithAchievementsPage];
When I'm launching a specific leaderboard page, or even go to the achievements page from dashboard (instead of my custom achievements button), it doesn't crash.
But XCode does give me a warning for both achievements page launching method and leaderboard page launching method, it says that OpenFeint may not respond to that method.
Here's my leaderboard page launching method by the way:
[OpenFeint launchDashboardWithHighscorePage:@"ID"];
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
显然我使用的是旧版本的 OpenFeint。
在 2.7.3 中,他们“修复了直接启动到成就仪表板页面的错误”。
我已经更新了我的 OpenFeint 并修复了它。
Apparently I was using an old version of OpenFeint.
In 2.7.3 they "Fixed a bug launching straight to the achievement's dashboard page".
I have updated my OpenFeint and that fixed it.