Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSMutableArray objectAtIndex:]: index 1 beyond bounds [0 .. 0]'

后端 未结 2 1612
离开以前
离开以前 2020-12-18 10:44

i\'m receiving the following errors, very new to iphone dev and objective C. I am very much willing to send over my project for someone to have a look, i\'m running in circl

2条回答
  •  误落风尘
    2020-12-18 11:12

    I don't think there is a need to change from static to dynamic cells for this one (there are cases where you may need the cells to be static). What may have caused this problem is that you may have only named 0 sections for your table view in the "Attributes Inspector" section in the storyboard. All you need to do is increase this number to 1 or as many sections as you may need.

    Well I think that's what @styfle's problem was.

提交回复
热议问题