ermalkaleci / CarbonKit

CarbonKit - iOS Components (Obj-C & Swift)
MIT License
682 stars 163 forks source link

Tab no more scrollable #245

Closed sumit-ingewar closed 4 years ago

sumit-ingewar commented 5 years ago

Hi there ,

I am facing issue with tabs. Usually they are scrollable like in android but after updating to xcode 11 and on iOS 13 , the tabs are no more scrollable. Also I noticed the tabs looks also changed in latest OS update. Any help would be appreciated.

StuckTitan682 commented 4 years ago

Any updates on this yet?

roasted-almond commented 4 years ago

Same issue here

ozanofkeli commented 4 years ago
- (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer {
    return YES;
}

With iOS 13 UISegmentedControl is scrollable. That's why you guys should override gestureRecognizerShouldBegin method inside CarbonTabSwipeSegmentedControl.m file and return YES.

sumit-ingewar commented 4 years ago

Solutions provided by ozanofkeli works as expected