我使用调用,因为它应该被使用,但它会导致崩溃。无法识别的选择器到openfeint解锁成就调用
//someId is a correct achievement ID
[OFAchievementService unlockAchievement:@"someId"];
,我得到以下错误
终止应用程序由于未捕获的异常 'NSInvalidArgumentException',原因是: '+ [OFAchievementService unlockAchievement:]:无法识别的选择发送到类0x26f1c8'
我还收到警告
警告:'OFAchieveme ntService'可能不会响应'+ unlockAchievement:'
如何调用此函数?根据例子,这看起来是正确的。
什么OpenFeint的SDK版本您使用的? – 2011-01-26 22:51:19
使用OpenFeint 12102010版(2.8)。 https://api.openfeint.com/ – jarryd 2011-01-26 22:53:57