OfTheWolf / TwitterProfile

Nested scrolling with pager just like in Twitter and Instagram profile.
MIT License
266 stars 45 forks source link

Doesn't work with table style .insetGrouped #3

Closed Xhale1 closed 4 years ago

Xhale1 commented 4 years ago

I made a slight modification to your project, so instead of using XLPager, I'm using a UIPageViewController with UITableViewControllers embedded into it.

Everything works perfectly until the table style is set to .insetGrouped. When this happens, the top view from your project fails to scroll, and the table view is the only scrolling view. Setting the style back to .plain allows for the smooth scrolling of both views to work properly.

Any thoughts on why this might happen?

Xhale1 commented 4 years ago

Fixed the issue on my own.

To those wondering, I was using UITableViewControllers as my bottom view, but instead using UIViewControllers with UITableViews nested inside fixed the issue.

Once more, incredible project!