为什么这会阻止应用启动?

时间:2011-02-06 00:22:59

标签: console console-application

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:'

当我按下“播放”按钮时会发生这种情况。我该怎么做才能启动应用程序?

1 个答案:

答案 0 :(得分:1)

我没有ObjC背景,但显然在buttonPressed_Play中你使用越界索引调用objectAtIndex