What does the iOS error “request for rect of invalid section” mean?

前端 未结 3 673
猫巷女王i
猫巷女王i 2021-01-12 02:07

Google reveals no posts at all for this error message. I\'m getting it in iOS 5 trying to update a UITableView. While the exact code is a bit tortured, this is what I\'m doi

3条回答
  •  醉酒成梦
    2021-01-12 03:01

    Posting as answer in case it happens to somebody else as well.

    I found the issue looking at jonkroll's answer, but in my case this happened because I was calling the same method twice and that method removed a row from the table view.

提交回复
热议问题