Problem detecting if UITableView has scrolled to the bottom

后端 未结 3 708
遇见更好的自我
遇见更好的自我 2021-02-14 23:40

I\'m using the following code to detect if I\'ve reached the bottom of a UITableView

- (void)scrollViewDidScroll:(UIScrollView *)scrollView{ 
    if(self.tableVi         


        
3条回答
  •  春和景丽
    2021-02-15 00:30

    Store the last position of the scrollview in your didScroll method. If you detect a scroll down and the last position was already the bottom of the scrollview then you ignore it.

提交回复
热议问题