为什么这会阻止应用程序启动?
问题描述:
2/5/11 4:01:34 PM
CNCRA3-launcher[1838]
*** NSThread: ignoring exception '*** -[NSArray objectAtIndex:]: index (-1 (or possibly larger)) beyond bounds (0)' that raised during thread perform of target 0x6075f0 and selector 'buttonPressed_Play:'
这是按“play”按钮时发生的情况。我能做些什么来启动应用程序?为什么这会阻止应用程序启动?
答
我没有ObjC背景,但显然在buttonPressed_Play
你叫objectAtIndex
超出界限指数。