-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UIControlEventValueChanged for HMSegmentedControl not called on page swipe. #24
Comments
Where did you try that? |
I tried it on my application, running with iOS 9.2. |
In that case it would maybe make sense to fork the HMSegmentedControl and change it there + PR |
Yeah, will do it. Once that get merged, will raise another PR here :) |
Thx... lets c if he's responding in a reasonable amount of time, otherwise, we'll have to create a custom version of |
Hi,
When we swipe pages,
HMSegmentedControl
'sUIControlEventValueChanged
event is not getting triggered.I've added an action to
pageControl
which listens toUIControlEventValueChanged
event. which is not getting called on page swipe. Any help?I tried adding an observer to
selectedSegmentIndex
property ofpageControl
, 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 fromHMSegmentedControl
class and call it ondidFinishAnimating
ofUIPageViewController
withnotify=true
.@hons82 Please let me know, if you have anything in mind. Thanks :)
The text was updated successfully, but these errors were encountered: