In Swift (I'm using 4.0), you can accomplish this by creating a custom UITableViewCell
class, and overriding
the setSelected
method. Then the separator insets
all to 0. (my main class with the table view has a clear background) color.
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// eliminate extra separators below UITableView
self.separatorInset = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 0)
}