I have a tableView set up so that when a cell is touched, it expands in height to reveal more information. The tableView has 5 sections.
I have a bug: when a cell e
I had the same bug because I was returning a cell using dequeue method instead of a UITableViewHeaderFooterView.
UITableViewHeaderFooterView@IBOutletfunc tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? return the outlet Don't forget to set the header sizes Don't forget to set the outlet as strong.