iphone - *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSMutableArray objectAtIndex:]: index 1 beyond bounds [0 .. 0]' -
what meaning
* terminating app due uncaught exception 'nsrangeexception', reason: '* -[nsmutablearray objectatindex:]: index 1 beyond bounds [0 .. 0]'
so can solve problem thanks
zero based addressing.
if have 1 item in nsarray, first item in array @ index 0, not index 1.
Comments
Post a Comment