Search code examples
iosiphoneuitableviewscrolldetect

UITableView Detecting Last Cell


How can I detect when a UITableView has been scrolled to the bottom so that the last cell is visible?


Solution

  • Implement the tableView:willDisplayCell:forRowAtIndexPath: method in your UITableViewDelegate and check to see if it's the last row.