forkingdog / UITableView-FDTemplateLayoutCell

Template auto layout cell for automatically UITableViewCell height calculating
MIT License
9.93k stars 2.01k forks source link

fd_heightForHeaderFooterViewWithIdentifier中,configuration未调用 #350

Open git4jwb opened 6 years ago

git4jwb commented 6 years ago

请问,在方法fd_heightForHeaderFooterViewWithIdentifier中,configuration是否未调用?

git4jwb commented 6 years ago
    if (configuration) {
        configuration(templateHeaderFooterView);
    }
iostalks commented 6 years ago

header footer 高度一般是固定的,所以不需要通过数据源来计算高度。

git4jwb commented 6 years ago

我们app中一个功能的header跟cell相似,高度也是动态的,需要使用数据源来计算高度。

kennenfromchina commented 5 years ago

header footer 高度一般是固定的,所以不需要通过数据源来计算高度。

这个就想当然了, 当然也有非固定高度的header和footer