这导致我的获取结果控制器抛出一个异常:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of rows in section0.out of that section (0 moved in, 0 moved out)
点击表格视图单元格附件视图,我在表格视图中显示一个额外的单元格,想象一下在您正在查看的行下弹出一个控制面板。同时,对API的HTTP请求正在获取第二页数据。如果当我在控制面板上设置动画的时候数据进来,我就会崩溃。'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of rows in section <em
当我尝试在iOS 13上运行我的应用程序时,我得到了这个错误,旧版本工作得很好。'NSInternalInconsistencyException', reason: 'Requested the number of rows for section (0) which is out我认为这就是导致异常的原因 override func reloadData() {
let rows = self.nu
在删除我的行时,我需要从两个数组中删除数据,这两个数组似乎都被删除了。', reason: 'Invalid update: invalid number of rows in section0.or deleted from that section (0 inserted, 1 deleted) and plus or minus the number of rows moved intoor out of that sec
当向UITable中添加一行时,我会得到这个错误。'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of rows in section 7.out of that section (0 moved in, 0 moved out).'return 1;在每一部分内的计数
Invalid update: invalid number of rows in section0.] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalidupdate: invalid number of rows in section0.我有一个应用程序
当我编辑一篇文章时,我的应用程序因此崩溃了,所以我在上搜索并在GitHub上发现了这个问题。我发现了与密切相关的堆栈溢出问题,其中@jpsim回答了某人关于在tableView中包含多个部分的问题。在注释@MikePollard中,询问是否可以将一个tableView与多个部分与领域集合通知结合起来。JPSim说这很棘手,但有可能。', reason: 'Invalid update: i
我有一个collectionView,它有两个部分,每个部分用单独的数组填充单元格。func numberOfSections(in collectionView: UICollectionView) -> Int {}
我可以在不同的部分之间移动项目当我在区段之间移动一个项目,重新加载数据,然后尝试删除该区段中的所有项目时,我的问题就发生了,我得到以下错误。Terminating app due to uncaught exception