I have two question
1.) I want to add multiple controls in UITableViewHeader section for that I have use below code but I am not able to add button in view
func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
let view = UIView()
view.backgroundColor = #colorLiteral(red: 0.8197316527, green: 0.2123814821, blue: 0.1997521222, alpha: 1)
let button = UIButton()
button.setTitle("Hello", for: .normal)
button.titleLabel?.text = "Hello"
view.addSubview(button)
return view
}
2.) How can I add multiple custom header section from Storyboard