I want to detect button tap on a UITableViewCell where the parent UITableView consists of multiple sections.
I was able to do it in the case of single section, but I
Swift 5
let touchPoint: CGPoint = sender.convert(.zero, to: tableViews)
let clickedButtonIndexPath = self.tableViews.indexPathForRow(at: touchPoint)
if(clickedButtonIndexPath != nil)
{
NSLog("index path.section ==%ld", Int(clickedButtonIndexPath!.section))
NSLog("index path.row ==%ld", Int(clickedButtonIndexPath!.row))
}