[Solved] How to change text color in tableView section in swift


override func tableView(tableView: UITableView!, viewForHeaderInSection   section: Int) -> UIView! {


var customView:UIView?
customView.frame = // set frame according to tableview width and header height
customView.backgroundColor = UIColor.greenColor()
return customView
} 

Hope this will help you.

solved How to change text color in tableView section in swift