[已解决]Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘attempt to insert row 16 into section 0, but there are only 0 rows in section 0 after the update’
crifan 10年前 (2016-02-16) 3756浏览 0评论
代码: //insert to correct position according datetime var insertedRowIdx:Int = 0 var has...
![[已解决]Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'attempt to insert row 16 into section 0, but there are only 0 rows in section 0 after the update'](https://www.crifan.org/files/pic/uploads/2017/07/ec5a8bd771985713737ef4fe9a42f3c2.png)