有没有办法直接打开 OpenFeint 仪表板进入“挑战”页面?屏幕?

发布于 2024-11-08 02:25:30 字数 452 浏览 0 评论 0原文

我正在寻找一种方法来将 OpenFeint 的仪表板视图直接打开到“挑战”视图。有一条消息启动仪表板,一条消息在发送之前显示挑战:

[OpenFeint launchDashboard];

[OFChallengeService displaySendChallengeModal: @"challengeIDhere"
    challengeText: [NSString stringWithFormat: @ "my score is %d, can you beat it?", _score]
    challengeData: challengeData];

我似乎找不到一条允许用户查看传入挑战的消息。

顺便说一句,我正在使用 Cocos2d,所以如果有一个关于为挑战创建自定义 UI 的方便教程,我一定会很感激!

I'm looking for a way to open OpenFeint's dashboard view directly to the Challenges view. There is a message that launches the dashboard, and one to display a challenge before it is sent:

[OpenFeint launchDashboard];

and

[OFChallengeService displaySendChallengeModal: @"challengeIDhere"
    challengeText: [NSString stringWithFormat: @ "my score is %d, can you beat it?", _score]
    challengeData: challengeData];

But I can't seem to find one that allows the user to view incoming challenges.

By the way, I'm using Cocos2d, so if there is a handy tutorial on creating a custom UI for challenges, I'd sure appreciate it!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

二货你真萌 2024-11-15 02:25:30

尝试:

[OpenFeint launchDashboardWithChallengesPage];

顺便说一句,还有:

  • launchDashboardWithListLeaderboardsPage
  • launchDashboardWithAchievementsPage
  • launchDashboardWithFindFriendsPage
  • launchDashboardWithWhosPlayingPage

Try:

[OpenFeint launchDashboardWithChallengesPage];

And btw, there are also:

  • launchDashboardWithListLeaderboardsPage
  • launchDashboardWithAchievementsPage
  • launchDashboardWithFindFriendsPage
  • launchDashboardWithWhosPlayingPage
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文