【问题标题】:Is there a way to open the OpenFeint dashboard directly into the "Challenges" screen?有没有办法直接打开 OpenFeint 仪表板进入“挑战”屏幕?
【发布时间】:2011-05-18 01:03:38
【问题描述】:

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

[OpenFeint launchDashboard];

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

但我似乎找不到一个允许用户查看即将到来的挑战。

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

【问题讨论】:

    标签: objective-c cocos2d-iphone openfeint


    【解决方案1】:

    试试:

    [OpenFeint launchDashboardWithChallengesPage];
    

    顺便说一句,还有:

    • launchDashboardWithListLeaderboardsPage
    • launchDashboardWithAchievementsPage
    • launchDashboardWithFindFriendsPage
    • launchDashboardWithWhosPlayingPage

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-03-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多