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
/// There is a footer color issue in the case of a plain styled (not grouped style) tableView. | |
/// Before iOS 15, the footer was colored but now it was transparent | |
func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? { | |
let footer = UIView() | |
footer.isUserInteractionEnabled = false | |
footer.backgroundColor = UIColor(red: 229/255, green: 229/255, blue: 229/255, alpha: 1) | |
return footer | |
} |
OlderNewer