heightForRowAtIndexPath crashing intermittently

前端 未结 3 2076
别那么骄傲
别那么骄傲 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条回答
  •  Happy的楠姐
    2021-01-27 18:04

    I think the only possible point where the second else can fail is the commentsDetailed.comment! unwrapping, which should fail in case it were equal to nil. The rest seems perfectly robust, including the heightForView method. If checking commentsDetailed.comment != nil doesn't do the trick, I'll start thinking it's some random 9.2 early bug...

提交回复
热议问题