简体   繁体   English

***由于未捕获的异常'NSRangeException'而终止应用程序,原因:'***-[NSMutableArray objectAtIndex:]:索引1超出范围[0 .. 0]'

[英]*** 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.

相关问题 由于未捕获的异常“ NSRangeException”而终止应用程序,原因:“ ***-[NSMutableArray objectAtIndex:]:索引26超出范围[0 .. 0]” - Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSMutableArray objectAtIndex:]: index 26 beyond bounds [0 .. 0]' 由于未捕获的异常'NSRangeException'终止应用程序,原因:'*** - [NSMutableArray objectAtIndex:]:索引1超出边界[0 .. 0]' - Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSMutableArray objectAtIndex:]: index 1 beyond bounds [0 .. 0]' ***由于未捕获的异常'NSRangeException'而终止应用程序,原因:'*** - *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** 'NSRangeException',原因:'* -[__NSArrayM objectAtIndex:]:索引 2 超出范围 [0 .. 1]' - 'NSRangeException', reason: '* -[__NSArrayM objectAtIndex:]: index 2 beyond bounds [0 .. 1]' iPhone-ReplaceScene错误:由于未捕获的异常'NSRangeException',正在终止应用程序,原因:'***-[NSMutableArray replaceObjectAtIndex:withObject:] - iphone - replaceScene error:Terminating app due to uncaught exception 'NSRangeException',reason:'***-[NSMutableArray replaceObjectAtIndex:withObject:] 因未捕获的异常“NSRangeException”而终止应用程序会使Range或index超出范围 - Terminating app due to uncaught exception 'NSRangeException' gives Range or index out of bounds' 由于未捕获的异常“ NSInvalidArgumentException”而终止应用程序,原因:“-[NSDecimalNumber objectAtIndex:] - Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSDecimalNumber objectAtIndex:] 异常“ NSRangeException”,原因:“ ***-[__ NSArray0 objectAtIndex:]:空NSArray的索引0超出范围” - exception 'NSRangeException', reason: '*** -[__NSArray0 objectAtIndex:]: index 0 beyond bounds for empty NSArray' iOS:致命异常:NSRangeException ***-[__ NSArrayM objectAtIndex:]:索引1超出范围[0 .. 0] - iOS: Fatal Exception: NSRangeException *** -[__NSArrayM objectAtIndex:]: index 1 beyond bounds [0 .. 0] Xcode - 由于未捕获的异常'NSRangeException'而终止应用程序 - Xcode - Terminating app due to uncaught exception 'NSRangeException'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM