要向我的tableView添加标题,请在Adding iOS UITableView HeaderView (not section header)跟随@KirbyTodd的回答。现在我想在我的表中添加一个TableViewCell。但是,当我将单元格放入TableView时,单元格出现在我的标题上方。有谁知道如何使用故事板正确地将标题和自定义单元格添加到我的TableView中?
答案 0 :(得分:1)
您添加的不是tableHeaderView
,而是tableFooterView
。如果您添加tableHeaderView
,它会显示在所有内容之上。