Assertion failure in -[UITableView _endCellAnimationsWithContext:]

前端 未结 12 1659
走了就别回头了
走了就别回头了 2020-12-08 03:41

Hopefully this will be a quick fix. I have been trying to figure out the error that i keep getting. The error is listed below and the appdelagate is below that.

An

12条回答
  •  北荒
    北荒 (楼主)
    2020-12-08 04:04

    Its could be one of UITableViewDataSource protocol methods

    For

    - tableView:numberOfRowsInSection:
    

    it should return an integer equal to the sum or result of

    -insertRowsAtIndexPaths:withRowAnimation: and/or -deleteRowsAtIndexPaths:withRowAnimation:

    For

    - numberOfSectionsInTableView:
    

    it should return an integer equal to the sum or result of

    -insertRowsAtIndexPaths:withRowAnimation: and/or -deleteSections:withRowAnimation:

提交回复
热议问题