简体   繁体   English

iPhone向游戏中心报告分数

[英]iphone Reporting Score to Game Center

When reporting scores to Game Center, if the method -reportScoreWithCompletionHandler encounters an error does that necessarily imply the score was not posted? 向游戏中心报告分数时,如果方法-reportScoreWithCompletionHandler遇到错误,是否必然意味着未发布分数? 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. 我想弄清楚这一点,以便我的处理块( error条件为nil与否)可以更好地处理此问题。

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. 我确信它确实暗示着。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM