Assertion failure in -[UISection

2019-10-30  本文已影响0人  jimmywife

解决办法

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

上一篇 下一篇

猜你喜欢

热点阅读