Remove Swipe Gesture - SegmentedControlPageTabStrip
networkharry04 opened this issue · comments
I am working with SegmentedPagerTabStripViewController. Can we remove swipe gesture and move to different view controller by clicking the segment? If I declare an open class for UISegementedControl to stop the swipe gesture, it crashes the application in iOS. I used custom class
class NoSwipeSegmentedControl: UISegmentedControl {
override func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
return true
}
}