Open zeeshankhan opened 8 years ago
Where did you try that? One of my samples? iOS version? Simulator?
I tried it on my application, running with iOS 9.2.
Actually It's an issue of HMSegmentedControl
class, which does not call UIControlEventValueChanged
event.
The only way I see is to manually add these files into my project and fix this thing.
What do you say?
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 HMSegmenetedControl
, as I've done in the past too
Hi,
When we swipe pages,
HMSegmentedControl
'sUIControlEventValueChanged
event is not getting triggered. I've added an action topageControl
which listens toUIControlEventValueChanged
event. which is not getting called on page swipe. Any help? I tried adding an observer toselectedSegmentIndex
property ofpageControl
, but this is not working on right swipe gesture. I even tried finding swipe gesture ofpageViewController
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 :)