[英]UITableView Section Footer Text with Swift
请参阅“修改节的页眉和页脚”下的 UITableViewDelegate 文档
tableView:viewForFooterInSection:
向委托请求视图对象,以便在指定部分的页脚中显示视图对象。
你需要实现 UITableViewDelegate 协议方法:
tableView(tableView: UITableView, viewForFooterInSection section: Int)
*不要忘记先设置委托。
func tableView(_ tableView: UITableView, titleForFooterInSection 部分: Int) -> String?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.