你可以用titleForHeaderInSection.
func tableView(tableView: UITableView!, titleForHeaderInSection section: Int) -> String!{
if (section == 0){
return textfield.text
}
if (section == 1){
return textfield2.text
}
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5356 次 |
| 最近记录: |