【发布时间】:2017-02-06 17:45:18
【问题描述】:
我目前正在使用折叠单元库,当我关闭单元时,标签(日期)和图像(锻炼类型)应该重新加载。
tableView.beginUpdates()
UIView.performWithoutAnimation {
tableView.reloadRows(at: indexSet, with: .none)
}
tableView.endUpdates()
我已尝试将我的 reloadRows 放入 dispatchQueue.main.async 调用以及与我的堆栈溢出问题类似的所有其他内容中。
【问题讨论】:
标签: swift tableview reloaddata