UITableViewAlertForLayoutOutsideViewHierarchy error: Warning once only (iOS 13 GM)

前端 未结 10 737
说谎
说谎 2020-12-25 12:23

I am getting a strange error with iOS13 when performing a Segue and I can\'t figure out what it means, nor can I find any documentation for this error. The problem is that t

10条回答
  •  一向
    一向 (楼主)
    2020-12-25 12:56

    Had the same issue, removing tableView.reloadSections fixed it. This was the line of code causing the warning:

    iOS 13:

    tableView.reloadSections(IndexSet(integer: 0), with: .automatic)
    

    in iOS 14, removing tableView.reloadSections did not fix the warning.

提交回复
热议问题