What causes this error? “CALayer position contains NaN: [240 nan]”

前端 未结 7 1668
星月不相逢
星月不相逢 2020-12-08 00:41

I\'ve seen this happen whenever i rotate a screen that has a UITableView on it. I\'ve found out that it happens inbetween the willRotate and

7条回答
  •  春和景丽
    2020-12-08 01:11

    I've spent a day trying to find the code that causes same problem and solved it within a minutes after enabling "break on exception" in Xcode. Check this tutorial to see how to enable it.

提交回复
热议问题