I want to know how can I detect when I scroll down at the bottom of the tableView cells which have lots of sections in swift4.
I know I can detect it with using this function,
func tableView(_ tableView: UITableView, willDisplay cell: UITableViewCell, forRowAt indexPath: IndexPath) {}
but it only works when there is 1 section.
Please let me know how to detect the bottom of the tableview cell when there are lots of sections.