Xlpagertabstrip: How to prevent the horizontal swiping in XLPagerTabStrip.

Created on 13 Dec 2017  路  2Comments  路  Source: xmartlabs/XLPagerTabStrip

I have implemented the XLPagerTabStrip to display 4 tabs.
Each Tab has UITableView inside it.
But now I can't swipe the tableview cell to delete because tab bar swiping is fired whenever I try to swipe the tableview cell.
How can I solve this issue?

Most helpful comment

You can disable horizontal scrolling by setting:

containerView.isScrollEnabled = false

in your PagerTabStripViewController.

All 2 comments

I'm interested in solving this problem, because I have a similar situation.

You can disable horizontal scrolling by setting:

containerView.isScrollEnabled = false

in your PagerTabStripViewController.

Was this page helpful?
0 / 5 - 0 ratings