-2

I've been using buzztouch.com to create an app and have no coding experience. I've been trying to integrate Game Center into my app through Xcode. I've been following these instructions and copying and pasting code where instructed. When I tried running the app through the simulator, I got the error that said:

Semantic Issue: Use of undeclared identifier 'screendata'

How do I fix this?

4

1 回答 1

0

您需要理解它,而不是复制和粘贴代码。有些东西没有完全正确地复制,或者您复制的代码中可能有错字。

无论如何,您的代码引用了一个标识符“screendata”,编译器不知道 screendata 是什么。可能只是拼写错误。最好是理解代码,以便您可以自己编写它,然后您可以弄清楚如何修复它。

于 2014-02-20T00:03:08.480 回答