[英]*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSMutableArray objectAtIndex:]: index 1 beyond bounds [0 .. 0]'
what is meaning 什么意思
* Terminating app due to uncaught exception 'NSRangeException', reason: '* -[NSMutableArray objectAtIndex:]: index 1 beyond bounds [0 .. 0]' *由于未捕获的异常'NSRangeException'而终止应用程序,原因:'* -[NSMutableArray objectAtIndex:]:索引1超出范围[0 .. 0]'
so that i can solve my problem thanks 这样我就可以解决我的问题了
这意味着您试图访问仅包含一项(索引0)的数组中的第二项(索引1)。
Zero based addressing. 从零开始的寻址。
If you only have one item in an NSArray, the first item in an array is at index 0, not index 1. 如果NSArray中只有一项,则数组中的第一项位于索引0,而不是索引1。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.