muZZkat/NMRangeSlider

NMRangeSlider inside UIPageViewController ?

Opened this issue · 0 comments

Does anybody has an idea about integrating NMRangeSlider inside UIPageViewController ?

Indeed, when trying to track the slider, the page view controller take the advantage and swipe page. It works if we touch the tracker for 150-200 ms before tracking, but it's an undesired effect.
One of solution for UISlider is to disable delaysContentTouch like that :

for (UIView *view in pageViewController.view.subviews) {
if ([view isKindOfClass:[UIScrollView class]]) {
UIScrollView *scrollView = (UIScrollView *)view;
scrollView.delaysContentTouches = NO;
}
}

But it does not work for NMRangeSlider...
Does anybody has a solution for it ?
Thanks in advance !