【发布时间】:2016-03-03 10:30:52
【问题描述】:
您好,有很多问题可以回答UITableViewCell 的动态高度UITableView。但是,当我为sectionFooterHeight 这样做时,我觉得很奇怪。
代码为:
tableView.sectionHeaderHeight = UITableViewAutomaticDimension
tableView.estimatedSectionHeaderHeight = 25
tableView.sectionFooterHeight = UITableViewAutomaticDimension
tableView.estimatedSectionFooterHeight = 50
并在xib 中为页脚视图设置了约束
虽然它适用于headerview,但不适用于页脚
【问题讨论】:
标签: ios swift uitableview