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 3 let clickedButtonIndexPath = self.tableView.indexPathForRow(at: touchPoint) if(clickedButtonIndexPath != nil) { NSLog("index path.section ==%ld", Int(clickedButtonIndexPath!.section)) NSLog("index path.row ==%ld", Int(clickedButtonIndexPath!.row)) }