Scroll to end on IOS

I can’t to scroll IOS page to end. I hasn’t any fixed element end of page.
How can I solve my problem?

  1. Get elements of current screen
  2. Scroll
  3. Get elements of current screen. Compare to above. If match, scroll one more time, compare, and if they match you are at the bottom of the screen. If not match, keep scrolling until they do.