I want more space(10px) between each cell. How can I do this?
cell
And I have added this code
tableView.separatorStyle = UITableViewCellSepar
This is the easiest solution I've found:
override func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? { " " }
then just set the height to whatever you want:
tableView.sectionHeaderHeight = 30.0