Xlpagertabstrip: Disable Swipe Gesture of XLtabstrip

Created on 24 Jul 2018  路  2Comments  路  Source: xmartlabs/XLPagerTabStrip

Is there any way to disable the page swiping gesture. So the user will only be able to move the pages by clicking the tabs in the tab strip.

Most helpful comment

self.containerView.isScrollEnabled = false

put this line in viewDidLoad() block in your base class file

All 2 comments

self.containerView.isScrollEnabled = false

put this line in viewDidLoad() block in your base class file

It would be nice to have this documented in the README

Was this page helpful?
0 / 5 - 0 ratings