I have been struggling with this assignment for quite some time now. What I would like to develop is a scrollview or collectionview which scrolls continuously both vertical
Resetting the contentOffset probably is the best solution figured out so far.
A few steps should be taken to achieve this:
So, the heavy lifting is in calculating how many items should be padded both on the left and right side. If you take a look at the illustration, you will find that a minimum of one extra screen of items should be padded on left and also, another extra screen on the right. The exact amount padded depends on how many items are in the original data set and how large your item size is.
I wrote a post on this solution:
http://www.awsomejiang.com/2018/03/24/Infinite-Scrolling-and-the-Tiling-Logic/