This is for the case when you have a custom cell , but I found this question when I was looking for an answer, so I decided to leave it here in case this helps others.
Go to your custom cell and set selectionStyle to .none in the awakeFromNib method:
override func awakeFromNib() { super.awakeFromNib()
If you use this custom cell in multiple UITableView , you will need to set it only once in the custom cell, and not in every UITableView you use :)
source share