Assertion failure in -[UISection

2018-08-30  本文已影响11人  落寒z

在系统11上运行没问题, 系统10.3.3 xcode9 报错.
解决办法
1 注释掉下面代码, 使用代理实现

    tableView.sectionFooterHeight = 0.1;
    tableView.sectionHeaderHeight = 0.1;
    tableView.estimatedSectionHeaderHeight = 0.1;
    tableView.estimatedSectionFooterHeight = 0.1;

2 或者把0.1 改成大于1的任意数都可以, 1.1 , 1.5
3 或者把0.1 改成0

上一篇 下一篇

猜你喜欢

热点阅读