title: How to set background colour for header in TableView?
body: <p>I found similar questions, but none of them helped me.
  I need to set the background colour of headers in my table to white, it is gray now(same as background colour of the table).</p>
  
  <p>Here are my <code>tableView</code> functions:</p>
  
  <pre><code>func tableView(_ tableView: UITableView, willDisplayHeaderView view: UIView, forSection section: Int)
  {
      let header = view as! UITableViewHeaderFooterView
      header.backgroundColor = UIColor.white
      header.textLabel?.font = UIFont(name: "Futura", size: 13)!
      header.textLabel?.textColor = UIColor.blue
  }
  
  func tableView(tableView: UITableView, ViewForHeaderInSection section: Int) -&gt; UIView? {
      tableView.backgroundColor = UIColor.white
      return tableView
  }
  
  func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -&gt; String?
  {
      return titles[section]
  }
  </code></pre>
  
  <p>I'm setting background colour to white, but nothing changes.</p>