iphone 将分数报告给游戏中心

发布于 2024-10-05 21:02:56 字数 165 浏览 0 评论 0原文

当向 Game Center 报告分数时,如果方法 -reportScoreWithCompletionHandler 遇到错误,是否一定意味着分数未发布?或者是否存在可以发布分数但遇到错误的情况?我想弄清楚这一点,以便我的处理块(错误的条件是 nil 或 not)可以更好地处理这个问题。

When reporting scores to Game Center, if the method -reportScoreWithCompletionHandler encounters an error does that necessarily imply the score was not posted? Or are there occasions where the score can be posted but an error was encountered? I'd like to have this clear so that my handling block (which conditions on error being nil or not) can handle this better.

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

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

发布评论

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

评论(1

玩世 2024-10-12 21:02:56

如果发帖有问题->你得到一个错误。如果没有问题->没有错误。我确信这确实暗示着。

If there is a problem with the posting -> you get an error. If there is no problem -> no error. I'm sure it does imply.

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