You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 13, 2025. It is now read-only.
When we swipe pages, HMSegmentedControl's UIControlEventValueChanged event is not getting triggered.
I've added an action to pageControl which listens to UIControlEventValueChanged event. which is not getting called on page swipe. Any help?
I tried adding an observer to selectedSegmentIndex property of pageControl, but this is not working on right swipe gesture.
I even tried finding swipe gesture of pageViewController but that property is nil.
The solution I see is to expose - (void)setSelectedSegmentIndex:(NSUInteger)index animated:(BOOL)animated notify:(BOOL)notify function from HMSegmentedControl class and call it on didFinishAnimating of UIPageViewController with notify=true.
@hons82 Please let me know, if you have anything in mind. Thanks :)