【发布时间】:2016-10-15 07:49:03
【问题描述】:
我遇到了这样的问题。文本我的单元格在表格部分下爬行,成为谷歌但找不到解决方案。在做这些事情之前,当我只是 UITableViewController 没有额外的元素如段。一切都很完美。告诉我如何解决这个问题。谢谢!
func tableView(tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
let cell = tableView.dequeueReusableHeaderFooterViewWithIdentifier("CommonSectionTableView") as! CommonSectionTableView
cell.titleLabel.text = self.ordersSectionName[section]
return cell
}
func tableView(tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
return 55.0
}
【问题讨论】:
标签: ios swift uitableview