解决办法
1.注释掉下面的代码,使用代理实现
tableView.sectionFooterHeight = 0.01;
tableView.sectionHeaderHeight = 0.01;
tableView.estimatedSectionHeaderHeight = 0.01;
tableView.estimatedSectionFooterHeight = 0.01;
2.或者把0.01改为大于1的任意数
3.或者把0.01改为0
1.注释掉下面的代码,使用代理实现
tableView.sectionFooterHeight = 0.01;
tableView.sectionHeaderHeight = 0.01;
tableView.estimatedSectionHeaderHeight = 0.01;
tableView.estimatedSectionFooterHeight = 0.01;
2.或者把0.01改为大于1的任意数
3.或者把0.01改为0
本文标题:Assertion failure in -[UISection
本文链接:https://www.haomeiwen.com/subject/mtxructx.html
网友评论