How to Make the scroll of a TableView inside ScrollView behave naturally

后端 未结 13 2065
无人及你
无人及你 2020-12-07 08:22

I need to do this app that has a weird configuration.

As shown in the next image, the main view is a UIScrollView. Then inside it should have a UIPageView, and each

13条回答
  •  悲&欢浪女
    2020-12-07 08:53

    If you are facing problem with the nested scrolling issue , here tis the simplest solution for it .

    1. go to your design screen
    2. select your scroll view and then disable bounce on scroll
    3. if your view uses table view inside scroll view then disable bounce on scroll of the table view as well
    4. run and check it is solved

    check how to disable bounce on scroll of a scroll view

    check how to disable bounce on scroll of a tableview view

提交回复
热议问题