No index path for table cell being reused

前端 未结 13 1545
执念已碎
执念已碎 2021-02-04 05:18

This started to happen out of the blue. Any ideas: Code:

CUSTOMCLASSNAME (I have replaced the actual class name as it contains the name of the client.)

Initialis

13条回答
  •  庸人自扰
    2021-02-04 06:02

    I have just tracked down a cause of this error message.

    A UITableViewCell was being used as a normal view. Therefore its' indexPath was not set. In our case one was being returned by viewForHeaderInSection:

    Hope this helps.

    Chris

提交回复
热议问题