Detecting UIScrollView page change

前端 未结 10 2203
鱼传尺愫
鱼传尺愫 2020-12-07 17:11

Is there a way to detect or get a notification when user changes the page in a paging-enabled UIScrollView?

10条回答
  •  情话喂你
    2020-12-07 18:09

    Implement the delegate of UIScrollView. This method is what you are looking for.

    - (void)scrollViewDidScroll:(UIScrollView *)scrollView
    

提交回复
热议问题