My App calls scrollViewDidScroll 19 times

前端 未结 1 1534
轮回少年
轮回少年 2020-12-20 14:41

I have an app based on Apple\'s PageControl sample. The first time the view loads, the scroll view is loaded with page 0 and page 1. Whenever a scroll is initiated, the scro

相关标签:
1条回答
  • 2020-12-20 15:03

    scrollViewDidScroll: gets called every time the scroll bounds change. This means it gets called during the scroll, as well as when it starts. You may want to try scrollViewWillBeginDragging: instead.

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