Created
April 25, 2017 17:31
-
-
Save tsraveling/dd287d697cec85df24031c1a2426b66c to your computer and use it in GitHub Desktop.
Set UITableView header text color
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| func tableView(_ tableView: UITableView, willDisplayHeaderView view:UIView, forSection: Int) { | |
| if let headerView = view as? UITableViewHeaderFooterView { | |
| headerView.textLabel?.textColor = .white | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment