This is pagination concept.
Please go through this link and you will get a better idea about it : Swift tableView Pagination
I can show what I have done in my project :
    func tableView(tableView: UITableView, willDisplayCell cell: UITableViewCell, forRowAtIndexPath indexPath: NSIndexPath) {
    if indexPath.row = arrayDataForTable.count && page <= totalNumberOfPages {
        page += 1
    }
}
In above code arrayDataForTable contains data to show in table. If user has scrolled to last cell I am adding page count increase code. I am getting “totalNumberOfPages” from api and maintaining page count as “page” locally starting from 0.
For Objective C use this method:
    - (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath;
5
solved OnScroll Load more data [closed]