No index path for table cell being reused

前端 未结 13 1512
执念已碎
执念已碎 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 05:52

    I worked this out after a few days. In my custom cell I had a textView, when I was adding it to the contentView I was doing this:

    [self.cellTextView setClearsOnInsertion:YES];
    

    This was the cause of the issue; incase anyone else has a similar problem.

    Happy coding :-)

提交回复
热议问题