Infinite UIScrollView

前端 未结 2 1233
半阙折子戏
半阙折子戏 2020-12-16 15:34

I would like to implement a timeline, much like one you can find in iMovie or Final Cut, which you can scroll in either direction. Scrolling to the left would go back in tim

相关标签:
2条回答
  • 2020-12-16 16:08

    Apple has and example project featuring infinite scrolling it's called StreetScroller, the description says:

    Demonstrates how a UIScrollView subclass can scroll infinitely in the horizontal direction.

    I hope this helps you.

    0 讨论(0)
  • 2020-12-16 16:30

    StreetScroller can only support no paging mode. I wrote a class based on the StreetScroller and support paging & no paging at the same time. https://github.com/hellohalo/InfiniteScrollView

    0 讨论(0)
提交回复
热议问题