heightForRowAtIndexPath crashing intermittently

前端 未结 3 2049
别那么骄傲
别那么骄傲 2021-01-27 17:36

I have an app with about 30 active users and 500+ registered users and this issue is only happening with one person who is on 9.2 using an iPhone 6.

I can see from crash

3条回答
  •  北恋
    北恋 (楼主)
    2021-01-27 18:01

    there is still a little bit of inconsistency in your code. try to distinguish between self.comentsDetailed and comentsDetailed in you code. try to choose another name for the local value let cd = self.commentsDetailed![indexPath.row-3] for an example, and next use this value where it is necessary in next statements. this can help you to see what wrong happens in your code.

提交回复
热议问题