美文网首页
NSInternalInconsistencyException

NSInternalInconsistencyException

作者: whereandhere | 来源:发表于2020-09-05 13:54 被阅读0次

    6 崩溃

    x未崩溃

    Thread 1: Exception: "Invalid update: invalid number of items in section 1. The number of items contained in an existing section after the update (1) must be equal to the number of items contained in that section before the update (0), plus or minus the number of items inserted or deleted from that section (0 inserted, 0 deleted) and plus or minus the number of items moved into or out of that section (0 moved in, 0 moved out)."

    崩溃原因:

        //NSInternalInconsistencyException 崩溃
    
        //[CollectionView] reloadSections:[NSIndexSet indexSetWithIndex:0]];
    

    暂时解决:

        [CollectionView reloadData];

    相关文章

      网友评论

          本文标题:NSInternalInconsistencyException

          本文链接:https://www.haomeiwen.com/subject/cgxfektx.html