My iOS app freezes but no error appears

后端 未结 5 1771
时光取名叫无心
时光取名叫无心 2021-02-03 13:43

Does any body know what I need to check if app freezes after some time? I mean, I can see the app in the iPhone screen but no view responds.

I did some google and i fou

5条回答
  •  无人共我
    2021-02-03 13:47

    I reached an error similar to this, but it was for different reasons. I had a button that performed a segue to another ViewController that contained a TableView, but it looked like the application froze whenever the segue was performed.

    My issue was that I was infinitely calling reloadData() due to a couple of didSet observers in one of my variables. Once I relocated this call elsewhere, the issue was fixed.

提交回复
热议问题