[英]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.