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

时间:2011-05-18 01:03:39

标签: objective-c cocos2d-iphone openfeint

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

[OpenFeint launchDashboard];

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

但我似乎无法找到允许用户查看传入挑战的内容。

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

1 个答案:

答案 0 :(得分:3)

尝试:

[OpenFeint launchDashboardWithChallengesPage];

顺便说一下,还有:

  • launchDashboardWithListLeaderboardsPage
  • launchDashboardWithAchievementsPage
  • launchDashboardWithFindFriendsPage
  • launchDashboardWithWhosPlayingPage